git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6ec923
)
smbd: ?True:False is pretty pointless :-)
author
Volker Lendecke
<vl@samba.org>
Mon, 14 Jul 2014 15:22:01 +0000
(15:22 +0000)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 22 Jul 2014 13:32:40 +0000
(15:32 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index 68564f69bc0f73112610d342419fe1a3fc40f018..d54326a66bbba780edad232ad4036005d7834ded 100644
(file)
--- a/
source3/smbd/reply.c
+++ b/
source3/smbd/reply.c
@@
-7885,7
+7885,7
@@
void reply_lockingX(struct smb_request *req)
num_ulocks = SVAL(req->vwv+6, 0);
num_locks = SVAL(req->vwv+7, 0);
lock_timeout = IVAL(req->vwv+4, 0);
- large_file_format = (
locktype & LOCKING_ANDX_LARGE_FILES)?True:False
;
+ large_file_format = (
(locktype & LOCKING_ANDX_LARGE_FILES) != 0)
;
if (!check_fsp(conn, req, fsp)) {
END_PROFILE(SMBlockingX);