s3:smbd: use xconn->client->sconn in reply_special()
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/reply.c

index e90f9dcf6fae3b32a3e8bac0b8683348e61d75b2..0d1fc23670108deb5dd088259e463f29a1a0d87a 100644 (file)
@@ -533,7 +533,7 @@ static void reply_called_name_not_present(char *outbuf)
 
 void reply_special(struct smbXsrv_connection *xconn, char *inbuf, size_t inbuf_size)
 {
-       struct smbd_server_connection *sconn = xconn->sconn;
+       struct smbd_server_connection *sconn = xconn->client->sconn;
        int msg_type = CVAL(inbuf,0);
        int msg_flags = CVAL(inbuf,1);
        /*