summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index df0f6f2095..62e51f797f 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -371,7 +371,7 @@ connection_struct *make_connection(char *service,char *user,char *password,
}
}
- if (NT_STATUS_IS_ERR(share_sanity_checks(snum, service, dev))) {
+ if (NT_STATUS_IS_ERR(*status = share_sanity_checks(snum, service, dev))) {
return NULL;
}