diff options
author | Volker Lendecke <vl@samba.org> | 2019-06-14 05:33:03 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-06-20 17:18:17 +0000 |
commit | 1736f7c5c5e27d8b50a969da0be74ecb3a17e47b (patch) | |
tree | 0e1d7ed4cc5995b1672eca260dd9a6dedd22a906 /source3 | |
parent | 041608cb89958bb85e7c57040abdd0c6851651af (diff) | |
download | samba-1736f7c5c5e27d8b50a969da0be74ecb3a17e47b.tar.gz |
smbd: Use NT_STATUS_IS_OK() in reply_unlock()
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 0242e66d92e..4fd2f1cec8d 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -5715,7 +5715,7 @@ void reply_unlock(struct smb_request *req) offset, WINDOWS_LOCK); - if (NT_STATUS_V(status)) { + if (!NT_STATUS_IS_OK(status)) { reply_nterror(req, status); END_PROFILE(SMBunlock); return; |