diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-06-10 20:20:58 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-09-19 09:15:12 +0200 |
commit | b970db154af3e8e1fa749fad7cadff578d03f87e (patch) | |
tree | 6626137130c10ea2518c5c4153be8252827ea88f | |
parent | f3fa664ea58b1b7b0f6c26697222f477ac18c5f1 (diff) | |
download | samba-b970db154af3e8e1fa749fad7cadff578d03f87e.tar.gz samba-b970db154af3e8e1fa749fad7cadff578d03f87e.tar.xz samba-b970db154af3e8e1fa749fad7cadff578d03f87e.zip |
s3:smb2_server: use xconn->client->sconn in smbd_smb2_io_handler()
xconn->sconn will go away soon.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r-- | source3/smbd/smb2_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c index ac6edddcfb..61d3c8e32b 100644 --- a/source3/smbd/smb2_server.c +++ b/source3/smbd/smb2_server.c @@ -3218,7 +3218,7 @@ static NTSTATUS smbd_smb2_flush_send_queue(struct smbXsrv_connection *xconn) static NTSTATUS smbd_smb2_io_handler(struct smbXsrv_connection *xconn, uint16_t fde_flags) { - struct smbd_server_connection *sconn = xconn->sconn; + struct smbd_server_connection *sconn = xconn->client->sconn; struct smbd_smb2_request_read_state *state = &xconn->smb2.request_read_state; struct smbd_smb2_request *req = NULL; size_t min_recvfile_size = UINT32_MAX; |