summaryrefslogtreecommitdiffstats
path: root/source/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
commit47dbddcb5361caa30ee60cf4e15bb50d557d1191 (patch)
tree0e40b935661cde878d6202fd203395d2230d7f96 /source/smbd
parentb481abf5914dcafe5642c4d9394d02603e905bbb (diff)
downloadsamba-47dbddcb5361caa30ee60cf4e15bb50d557d1191.tar.gz
samba-47dbddcb5361caa30ee60cf4e15bb50d557d1191.tar.xz
samba-47dbddcb5361caa30ee60cf4e15bb50d557d1191.zip
Add brackets so as not to break the POSIX caps return.
Jeremy.
Diffstat (limited to 'source/smbd')
-rw-r--r--source/smbd/trans2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c
index 09a8fcc8767..c9ea02969bb 100644
--- a/source/smbd/trans2.c
+++ b/source/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;
}