mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Make operator precedence very clear.
Jeremy.
(This used to be commit 4f125110cf
)
This commit is contained in:
parent
b7989e2ac7
commit
a33236f4aa
@ -422,7 +422,7 @@ int file_set_dosmode(connection_struct *conn, const char *fname,
|
||||
uint32_t old_mode;
|
||||
|
||||
/* We only allow READONLY|HIDDEN|SYSTEM|DIRECTORY|ARCHIVE here. */
|
||||
dosmode &= SAMBA_ATTRIBUTES_MASK | FILE_ATTRIBUTE_OFFLINE;
|
||||
dosmode &= (SAMBA_ATTRIBUTES_MASK | FILE_ATTRIBUTE_OFFLINE);
|
||||
|
||||
DEBUG(10,("file_set_dosmode: setting dos mode 0x%x on file %s\n", dosmode, fname));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user