From d5b8a993e0d782b123ed537709c28efede468419 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 8 Aug 2010 08:47:05 +0200 Subject: s3: Remove a direct reference to smbd_server_conn --- source3/smbd/smb2_glue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/smb2_glue.c b/source3/smbd/smb2_glue.c index ba80f852c6..a4b34e4a5c 100644 --- a/source3/smbd/smb2_glue.c +++ b/source3/smbd/smb2_glue.c @@ -61,7 +61,7 @@ struct smb_request *smbd_smb2_fake_smb_request(struct smbd_smb2_request *req) void remove_smb2_chained_fsp(files_struct *fsp) { - struct smbd_server_connection *sconn = smbd_server_conn; + struct smbd_server_connection *sconn = fsp->conn->sconn; struct smbd_smb2_request *smb2req; for (smb2req = sconn->smb2.requests; smb2req; smb2req = smb2req->next) { -- cgit