git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b481abf
)
Add brackets so as not to break the POSIX caps return.
author
Jeremy Allison
<jra@samba.org>
Fri, 2 Nov 2007 01:30:02 +0000
(18:30 -0700)
committer
Jeremy Allison
<jra@samba.org>
Fri, 2 Nov 2007 01:30:02 +0000
(18:30 -0700)
Jeremy.
source/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source/smbd/trans2.c
b/source/smbd/trans2.c
index 09a8fcc8767df9d64e44c975d0d0cf38d276922f..c9ea02969bb050bd1933b5cf28bee8127fb5b52b 100644
(file)
--- 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;
}