diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/files.c | 2 |
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); |