summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2021-11-02 10:35:35 +0100
committerJeremy Allison <jra@samba.org>2021-11-11 19:59:03 +0000
commit240addaed7b87759dff13c1c6c18681815c28c92 (patch)
treecabef89fc726395c374463d6a5ff6173ba10bdbb
parentb063aa1cf13ece9673edbf225281993cfa39085d (diff)
downloadsamba-240addaed7b87759dff13c1c6c18681815c28c92.tar.gz
smbd: Convert ret==false into !ret
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Nov 11 19:59:03 UTC 2021 on sn-devel-184
-rw-r--r--source3/smbd/filename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index 11022dca703..eec7877b38b 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -326,7 +326,7 @@ static NTSTATUS rearrange_snapshot_path(struct smb_filename *smb_fname,
smb_fname->base_name,
&parent,
&last_component);
- if (ret == false) {
+ if (!ret) {
/* Must terminate debug with \n */
DBG_DEBUG("NT_STATUS_NO_MEMORY\n");
return NT_STATUS_NO_MEMORY;