mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
torture: Fix CID 1426987 Incorrect expression (UNUSED_VALUE)
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Thu Dec 28 02:22:04 CET 2017 on sn-devel-144
This commit is contained in:
parent
8a42954775
commit
dcfa6c021f
@ -1387,7 +1387,7 @@ static bool test_session_expire2(struct torture_context *tctx)
|
||||
ZERO_STRUCT(lack);
|
||||
lack.in.lease.lease_version = 1;
|
||||
lack.in.lease.lease_key.data[0] = 1;
|
||||
lack.in.lease.lease_key.data[0] = 2;
|
||||
lack.in.lease.lease_key.data[1] = 2;
|
||||
status = smb2_lease_break_ack(tree, &lack);
|
||||
torture_assert_ntstatus_equal_goto(tctx, status,
|
||||
NT_STATUS_NETWORK_SESSION_EXPIRED,
|
||||
|
Loading…
Reference in New Issue
Block a user