libcli/smb: defer singing check a little bit
authorRalph Boehme <slow@samba.org>
Sat, 10 Nov 2018 20:56:28 +0000 (21:56 +0100)
committerRalph Boehme <slow@samba.org>
Tue, 13 Nov 2018 10:13:03 +0000 (11:13 +0100)
commit7abf3900218e3d27c075b405735b2c38ec0fc4ca
tree678b55b2839df62c434e8b745b43198c9586229c
parent67cfb01611869b7590ccd836dd13a80e53545714
libcli/smb: defer singing check a little bit

This allows adding an additional condition to the if check where the
condition state may be modified in the "if (opcode ==
SMB2_OP_SESSSETUP)" case directly above.

No change in behaviour.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13661

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
libcli/smb/smbXcli_base.c