summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-06-11 12:54:47 +0200
committerMichael Adam <obnox@samba.org>2014-09-19 09:15:11 +0200
commitd83ecf5b1d74445a63d7327e8b1a91ac19e65152 (patch)
treeb4ff7129ffeff319cbb2b79cf88d99381048a097
parentfda21db35186cd259d3f96da7a3f5c1102f8b246 (diff)
downloadsamba-d83ecf5b1d74445a63d7327e8b1a91ac19e65152.tar.gz
samba-d83ecf5b1d74445a63d7327e8b1a91ac19e65152.tar.xz
samba-d83ecf5b1d74445a63d7327e8b1a91ac19e65152.zip
s3:smbd: use xconn->client->sconn in construct_reply()
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/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 350dae89fc..4236af6d3a 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -1655,7 +1655,7 @@ static void construct_reply(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;
struct smb_request *req;
if (!(req = talloc(talloc_tos(), struct smb_request))) {