From f25331499ec5f3e52c9bb6030af686a1b82d9dd8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 11 Jun 2014 12:42:56 +0200 Subject: [PATCH] s3:smbd: use req->sconn in reply_negprot() xconn->sconn will go away soon. Signed-off-by: Stefan Metzmacher Reviewed-by: Michael Adam --- source3/smbd/negprot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index 86a4acd7d36..42fe48ec999 100644 --- a/source3/smbd/negprot.c +++ b/source3/smbd/negprot.c @@ -517,7 +517,7 @@ void reply_negprot(struct smb_request *req) int i; size_t converted_size; struct smbXsrv_connection *xconn = req->xconn; - struct smbd_server_connection *sconn = xconn->sconn; + struct smbd_server_connection *sconn = req->sconn; START_PROFILE(SMBnegprot);