summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_synclists.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_synclists.c b/source3/nmbd/nmbd_synclists.c
index 0e67c3f69c..7fe39676c6 100644
--- a/source3/nmbd/nmbd_synclists.c
+++ b/source3/nmbd/nmbd_synclists.c
@@ -98,7 +98,8 @@ static void sync_child(char *name, int nm_type,
return;
}
- if (!cli_session_setup(cli, "", "", 1, "", 0, workgroup)) {
+ if (!NT_STATUS_IS_OK(cli_session_setup(cli, "", "", 1, "", 0,
+ workgroup))) {
cli_shutdown(cli);
return;
}