diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-12-07 07:28:43 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2005-12-07 07:28:43 +0000 |
commit | e0c047d9a14945a3d9450e95f1298c51f59f5402 (patch) | |
tree | 16487ef6b993b498f6401c7d346699964fac9dc1 /source/torture/smb2 | |
parent | 06a207f1b46551bd30500d46d3c75e8fcc9786e3 (diff) | |
download | samba-e0c047d9a14945a3d9450e95f1298c51f59f5402.tar.gz samba-e0c047d9a14945a3d9450e95f1298c51f59f5402.tar.xz samba-e0c047d9a14945a3d9450e95f1298c51f59f5402.zip |
r12114: - smb2_keepalive() acts on the smb2_transport
- smb2_logoff() acts on the smb2_session
metze
Diffstat (limited to 'source/torture/smb2')
-rw-r--r-- | source/torture/smb2/connect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/torture/smb2/connect.c b/source/torture/smb2/connect.c index dde2ace4b28..fe5febdf079 100644 --- a/source/torture/smb2/connect.c +++ b/source/torture/smb2/connect.c @@ -216,19 +216,19 @@ BOOL torture_smb2_connect(void) return False; } - status = smb2_logoff(tree); + status = smb2_logoff(tree->session); if (!NT_STATUS_IS_OK(status)) { printf("Logoff failed - %s\n", nt_errstr(status)); return False; } - status = smb2_logoff(tree); + status = smb2_logoff(tree->session); if (!NT_STATUS_EQUAL(status, NT_STATUS_USER_SESSION_DELETED)) { printf("Logoff should have disabled session - %s\n", nt_errstr(status)); return False; } - status = smb2_keepalive(tree); + status = smb2_keepalive(tree->session->transport); if (!NT_STATUS_IS_OK(status)) { printf("keepalive failed? - %s\n", nt_errstr(status)); return False; |