diff options
author | Volker Lendecke <vl@samba.org> | 2012-04-24 12:25:59 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-04-24 13:28:50 +0200 |
commit | 374ca0bd26c0a5f1ab77497eafc1e98a420c86a5 (patch) | |
tree | 34ddfc3e27a03c159ce003c6fda0cad07dc26951 /source3/lib | |
parent | 8d5e6770f45283091e8ef41b1c4ca39356c1869a (diff) | |
download | samba-374ca0bd26c0a5f1ab77497eafc1e98a420c86a5.tar.gz samba-374ca0bd26c0a5f1ab77497eafc1e98a420c86a5.tar.bz2 samba-374ca0bd26c0a5f1ab77497eafc1e98a420c86a5.zip |
s3: Fix Coverity ID 2751: REVERSE_INULL
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/dbwrap/dbwrap_watch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/dbwrap/dbwrap_watch.c b/source3/lib/dbwrap/dbwrap_watch.c index 0c13371531..59288057f0 100644 --- a/source3/lib/dbwrap/dbwrap_watch.c +++ b/source3/lib/dbwrap/dbwrap_watch.c @@ -400,7 +400,7 @@ NTSTATUS dbwrap_record_watch_recv(struct tevent_req *req, return status; } rec = dbwrap_fetch_locked(state->db, mem_ctx, state->key); - if (req == NULL) { + if (rec == NULL) { return NT_STATUS_INTERNAL_DB_ERROR; } *prec = rec; |