The branch, master has been updated
via b7a050d smbd:smb2: remove an unnecessary !! cast.
from 06aefe4 s3:libnet:libnet_join: update msDS-SupportedEncryptionTypes
(if required) with machine creds.
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit b7a050df7816647140e35574ea704ffd13dd87c1
Author: Michael Adam <[email protected]>
Date: Thu Mar 3 16:57:45 2016 +0100
smbd:smb2: remove an unnecessary !! cast.
Casting to bool is done implcitly upon assignment.
Thanks to Ralph for pointing this out!
Signed-off-by: Michael Adam <[email protected]>
Reviewed-by: Ralph Boehme <[email protected]>
Autobuild-User(master): Michael Adam <[email protected]>
Autobuild-Date(master): Mon Mar 14 23:01:31 CET 2016 on sn-devel-144
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/smb2_create.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c
index 17bddc1..9dbed68 100644
--- a/source3/smbd/smb2_create.c
+++ b/source3/smbd/smb2_create.c
@@ -836,7 +836,7 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX
*mem_ctx,
hdr = SMBD_SMB2_IN_HDR_PTR(smb2req);
flags = IVAL(hdr, SMB2_HDR_FLAGS);
replay_operation =
- !!(flags & SMB2_HDR_FLAG_REPLAY_OPERATION);
+ flags & SMB2_HDR_FLAG_REPLAY_OPERATION;
status = smb2srv_open_lookup_replay_cache(
smb2req->xconn, create_guid,
--
Samba Shared Repository