summaryrefslogtreecommitdiffstats
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-06-11 10:40:42 +0200
committerMichael Adam <obnox@samba.org>2014-09-19 09:15:11 +0200
commit78951fb099124fcb5c46a1e5506915107f89ed7f (patch)
treef8cf0c370fa6b54a101f76b2dcb293b433fa3bfe /source3/smbd
parente23785ae37bae80d3e356e44a00b21a0037c860e (diff)
downloadsamba-78951fb099124fcb5c46a1e5506915107f89ed7f.tar.gz
samba-78951fb099124fcb5c46a1e5506915107f89ed7f.tar.xz
samba-78951fb099124fcb5c46a1e5506915107f89ed7f.zip
s3:smbd: use xconn->client->sconn in process_smb()
xconn->sconn will go away soon. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index eebe9c04a6..350dae89fc 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -1865,7 +1865,7 @@ static void process_smb(struct smbXsrv_connection *xconn,
uint32_t seqnum, bool encrypted,
struct smb_perfcount_data *deferred_pcd)
{
- struct smbd_server_connection *sconn = xconn->sconn;
+ struct smbd_server_connection *sconn = xconn->client->sconn;
int msg_type = CVAL(inbuf,0);
DO_PROFILE_INC(smb_count);