summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 4ae139fc58..51710b7b77 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1358,7 +1358,7 @@ BOOL check_file_sharing(int cnum,char *fname)
if (old_shares[i].share_mode != DENY_DOS)
goto free_and_exit;
- if(old_shares[i].pid != pid);
+ if(old_shares[i].pid != pid)
goto free_and_exit;
}