s3: Remove smbd_server_conn from file_close_conn
authorVolker Lendecke <vl@samba.org>
Mon, 27 Sep 2010 01:40:11 +0000 (03:40 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 28 Sep 2010 05:36:16 +0000 (07:36 +0200)
source3/smbd/files.c

index 4ba1052d055049129ef89867ceea109fb988061c..cf6f57ea2f0c8ec4043b4b0b9c69113f60270255 100644 (file)
@@ -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);