git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e0ee1a
)
Fix Coverity ID 432
author
Volker Lendecke
<vl@samba.org>
Sun, 23 Mar 2008 14:58:09 +0000
(15:58 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sun, 23 Mar 2008 15:22:00 +0000
(16:22 +0100)
source/rpc_server/srv_eventlog_lib.c
patch
|
blob
|
history
diff --git
a/source/rpc_server/srv_eventlog_lib.c
b/source/rpc_server/srv_eventlog_lib.c
index 269e2f318e52fcaa6b281c50c662f18aab44a863..e232a30078244bb4dd186d9e7e7b714bdf7bc8dc 100644
(file)
--- a/
source/rpc_server/srv_eventlog_lib.c
+++ b/
source/rpc_server/srv_eventlog_lib.c
@@
-464,8
+464,6
@@
int write_eventlog_tdb( TDB_CONTEXT * the_tdb, Eventlog_entry * ee )
if ( mem_ctx == NULL )
return 0;
- if ( !ee )
- return 0;
/* discard any entries that have bogus time, which usually indicates a bogus entry as well. */
if ( ee->record.time_generated == 0 )
return 0;