summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 08:47:05 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 16:03:15 +0200
commitd5b8a993e0d782b123ed537709c28efede468419 (patch)
tree24a29951fca8f52c70f90ca76ecd49fb7049505a
parent5acb5b09ee4d00cee83b7df3bc0a52894e9f303d (diff)
downloadsamba-d5b8a993e0d782b123ed537709c28efede468419.tar.gz
samba-d5b8a993e0d782b123ed537709c28efede468419.tar.bz2
samba-d5b8a993e0d782b123ed537709c28efede468419.zip
s3: Remove a direct reference to smbd_server_conn
-rw-r--r--source3/smbd/smb2_glue.c2
1 files changed, 1 insertions, 1 deletions
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) {