diff options
author | Volker Lendecke <vl@samba.org> | 2010-10-03 18:05:17 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-10-14 13:53:06 +0200 |
commit | cac60a7041f0c37246f26f71c3c868e2adf5dc20 (patch) | |
tree | c21a0f9c4eba60e6bb1c98fad1ad961ff047dca1 /source3 | |
parent | 81bdb5910c8f84bd9e83c76a78370884e8f638f8 (diff) | |
download | samba-cac60a7041f0c37246f26f71c3c868e2adf5dc20.tar.gz samba-cac60a7041f0c37246f26f71c3c868e2adf5dc20.tar.bz2 samba-cac60a7041f0c37246f26f71c3c868e2adf5dc20.zip |
s3: Remove some explicit smbd_server_conn refs in process_smb()
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |