1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3:lib: rework a return expression into an if block

Needed to add additional stuff after the if block in the next commit.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14137

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Ralph Boehme 2019-09-25 08:53:29 -07:00
parent 49a754b82d
commit d7dc85990a

View File

@ -253,7 +253,11 @@ bool is_ntfs_stream_smb_fname(const struct smb_filename *smb_fname)
return false;
}
return smb_fname->stream_name != NULL;
if (smb_fname->stream_name == NULL) {
return false;
}
return true;
}
/****************************************************************************