s3:smbd: use xconn->client->sconn in smb1_parse_chain()
authorStefan Metzmacher <metze@samba.org>
Wed, 11 Jun 2014 10:54:47 +0000 (12:54 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 19 Sep 2014 07:15:11 +0000 (09:15 +0200)
xconn->sconn will go away soon.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/smbd/process.c

index 4236af6d3a7445762fc4f9fdbd95784cea7b9a21..66eaca84a385de21fbae37a56fbd3d4ab83d7241 100644 (file)
@@ -2405,7 +2405,7 @@ bool smb1_parse_chain(TALLOC_CTX *mem_ctx, const uint8_t *buf,
        unsigned i;
 
        if (xconn != NULL) {
-               sconn = xconn->sconn;
+               sconn = xconn->client->sconn;
        }
 
        state.mem_ctx = mem_ctx;