summaryrefslogtreecommitdiffstats
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-07-14 15:22:01 +0000
committerStefan Metzmacher <metze@samba.org>2014-07-22 15:32:40 +0200
commit67fb294e64da9a3f1ab23838fd5bccde9cd9ccc7 (patch)
treec24a172b5b456994381668d08a5f9fda2982af24 /source3/smbd/reply.c
parentc6ec923dce22770e54cd7f58937fbf2b75c28190 (diff)
downloadsamba-67fb294e64da9a3f1ab23838fd5bccde9cd9ccc7.tar.gz
samba-67fb294e64da9a3f1ab23838fd5bccde9cd9ccc7.tar.xz
samba-67fb294e64da9a3f1ab23838fd5bccde9cd9ccc7.zip
smbd: ?True:False is pretty pointless :-)
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 68564f69bc..d54326a66b 100644
--- 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);