summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-04-24 12:25:59 +0200
committerVolker Lendecke <vl@samba.org>2012-04-24 13:28:50 +0200
commit374ca0bd26c0a5f1ab77497eafc1e98a420c86a5 (patch)
tree34ddfc3e27a03c159ce003c6fda0cad07dc26951 /source3
parent8d5e6770f45283091e8ef41b1c4ca39356c1869a (diff)
downloadsamba-374ca0bd26c0a5f1ab77497eafc1e98a420c86a5.tar.gz
samba-374ca0bd26c0a5f1ab77497eafc1e98a420c86a5.tar.bz2
samba-374ca0bd26c0a5f1ab77497eafc1e98a420c86a5.zip
s3: Fix Coverity ID 2751: REVERSE_INULL
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/dbwrap/dbwrap_watch.c2
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;