From 727f3ee6acf8c7d8a4fd2c8a02eadf496e3687af Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 26 Feb 2012 17:35:28 +0100 Subject: s3:libsmb:smb2: pass previous session ID to session setup, not previous session We only need the session, and under some circumstances, it might complicate things for the caller to have to cope with the whole structure (talloc...). --- source3/libsmb/cliconnect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libsmb/cliconnect.c') diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 79b9496f8b..9d4e4e1f99 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -1232,7 +1232,7 @@ static bool cli_sesssetup_blob_next(struct cli_sesssetup_blob_state *state, 0, /* in_flags */ SMB2_CAP_DFS, /* in_capabilities */ 0, /* in_channel */ - NULL, /* in_previous_session */ + 0, /* in_previous_session_id */ &state->smb2_blob); if (subreq == NULL) { return false; -- cgit