1
0
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:
Jeremy Allison 2008-02-06 10:31:22 -08:00
parent b7989e2ac7
commit a33236f4aa

View File

@ -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));