From cac60a7041f0c37246f26f71c3c868e2adf5dc20 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 3 Oct 2010 18:05:17 +0200 Subject: s3: Remove some explicit smbd_server_conn refs in process_smb() --- source3/smbd/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd') diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 91627e9cff..e72fd5f13b 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -1662,13 +1662,13 @@ static void process_smb(struct smbd_server_connection *sconn, /* At this point we're not really using smb2, * we make the decision here.. */ if (smbd_is_smb2_header(inbuf, nread)) { - smbd_smb2_first_negprot(smbd_server_conn, inbuf, nread); + smbd_smb2_first_negprot(sconn, inbuf, nread); return; } else if (nread >= smb_size && valid_smb_header(inbuf) && CVAL(inbuf, smb_com) != 0x72) { /* This is a non-negprot SMB1 packet. Disable SMB2 from now on. */ - smbd_server_conn->using_smb2 = false; + sconn->using_smb2 = false; } } -- cgit