summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-09-27 03:40:11 +0200
committerVolker Lendecke <vl@samba.org>2010-09-28 07:36:16 +0200
commit6a1c4bad131ceec025e7c8d40fdda3f01ce734c1 (patch)
tree682c6c0aa8e0a8668a475129f58ab9371289cf1d /source3
parentc5d27995434910075185e6b290ca933a7ea8afa6 (diff)
downloadsamba-6a1c4bad131ceec025e7c8d40fdda3f01ce734c1.tar.gz
samba-6a1c4bad131ceec025e7c8d40fdda3f01ce734c1.tar.bz2
samba-6a1c4bad131ceec025e7c8d40fdda3f01ce734c1.zip
s3: Remove smbd_server_conn from file_close_conn
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c
index 4ba1052d05..cf6f57ea2f 100644
--- a/source3/smbd/files.c
+++ b/source3/smbd/files.c
@@ -143,7 +143,7 @@ void file_close_conn(connection_struct *conn)
{
files_struct *fsp, *next;
- for (fsp=smbd_server_conn->files;fsp;fsp=next) {
+ for (fsp=conn->sconn->files; fsp; fsp=next) {
next = fsp->next;
if (fsp->conn == conn) {
close_file(NULL, fsp, SHUTDOWN_CLOSE);