summaryrefslogtreecommitdiff
path: root/source3/smbd/files.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/files.c')
-rw-r--r--source3/smbd/files.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c
index f24d903daa..a50bd950a5 100644
--- a/source3/smbd/files.c
+++ b/source3/smbd/files.c
@@ -209,11 +209,11 @@ void file_init(void)
Close files open by a specified vuid.
****************************************************************************/
-void file_close_user(int vuid)
+void file_close_user(struct smbd_server_connection *sconn, int vuid)
{
files_struct *fsp, *next;
- for (fsp=smbd_server_conn->files;fsp;fsp=next) {
+ for (fsp=sconn->files; fsp; fsp=next) {
next=fsp->next;
if (fsp->vuid == vuid) {
close_file(NULL, fsp, SHUTDOWN_CLOSE);