summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-11-01 18:30:02 -0700
committerJeremy Allison <jra@samba.org>2007-11-01 18:30:02 -0700
commit8bad80efb016dbd1aa392bbbc2b954d4dc9e3906 (patch)
tree22b06ae8876c3a6c84e578466f1b5aa9242ec9a6 /source3/smbd
parent0e073b8152103d9de9fc68cb5b0dfbb7c9b0327a (diff)
downloadsamba-8bad80efb016dbd1aa392bbbc2b954d4dc9e3906.tar.gz
samba-8bad80efb016dbd1aa392bbbc2b954d4dc9e3906.tar.bz2
samba-8bad80efb016dbd1aa392bbbc2b954d4dc9e3906.zip
Add brackets so as not to break the POSIX caps return.
Jeremy. (This used to be commit 47dbddcb5361caa30ee60cf4e15bb50d557d1191)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 09a8fcc876..c9ea02969b 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -2738,8 +2738,8 @@ cBytesSector=%u, cUnitTotal=%u, cUnitAvail=%d\n", (unsigned int)bsize, (unsigned
CIFS_UNIX_EXTATTR_CAP|
CIFS_UNIX_POSIX_PATH_OPERATIONS_CAP|
CIFS_UNIX_LARGE_READ_CAP|
- large_write ?
- CIFS_UNIX_LARGE_WRITE_CAP : 0)));
+ (large_write ?
+ CIFS_UNIX_LARGE_WRITE_CAP : 0))));
break;
}