diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-01-08 08:00:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:57 -0500 |
commit | c79be5713ab5e01e4291b3b66e593c133f8fa9d7 (patch) | |
tree | 0e6873ed4caa970e37636c09a38af0e8c8e46954 /source3/smbd | |
parent | b2efff8fe5cdfd031a7b6f814993a9c234a66ee8 (diff) | |
download | samba-c79be5713ab5e01e4291b3b66e593c133f8fa9d7.tar.gz samba-c79be5713ab5e01e4291b3b66e593c133f8fa9d7.tar.bz2 samba-c79be5713ab5e01e4291b3b66e593c133f8fa9d7.zip |
r20602: Fix coverity ID 339. SMB_ASSERT does not panic without -DDEVELOPER.
Volker
(This used to be commit 33b5950bec407e295b2c6139e21d062e376df330)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/notify.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index bcd8fcb0ab..6bedb17261 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -219,7 +219,10 @@ static void change_notify_remove_request(struct notify_change_request *remove_re break; } } - SMB_ASSERT(req != NULL); + + if (req == NULL) { + smb_panic("notify_req not found in fsp's requests\n"); + } DLIST_REMOVE(fsp->notify->requests, req); DLIST_REMOVE(notify_changes_by_mid, req->mid_map); |