git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5623340
)
smbd: Add parentheses for easier readability
author
Volker Lendecke
<vl@samba.org>
Wed, 31 Jan 2024 16:16:04 +0000
(17:16 +0100)
committer
Volker Lendecke
<vl@samba.org>
Tue, 12 Mar 2024 13:31:31 +0000
(13:31 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/smbd/dosmode.c
patch
|
blob
|
history
diff --git
a/source3/smbd/dosmode.c
b/source3/smbd/dosmode.c
index 9f7897a7cf545fc345bc33c61917165e4efa2a12..4ae08f38dcfabed2e8052a756c112d957c11f5a1 100644
(file)
--- a/
source3/smbd/dosmode.c
+++ b/
source3/smbd/dosmode.c
@@
-919,7
+919,7
@@
int file_set_dosmode(connection_struct *conn,
return -1;
}
- if (
smb_fname->fsp->posix_flags & FSP_POSIX_FLAGS_OPEN
&&
+ if (
(smb_fname->fsp->posix_flags & FSP_POSIX_FLAGS_OPEN)
&&
!lp_store_dos_attributes(SNUM(conn)))
{
return 0;