diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-08-16 17:14:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:38:39 -0500 |
commit | 94817a8ef53589011bc4ead4e17807a101acf5c9 (patch) | |
tree | aaa2e5b87a6e6c40ad679a9ac53f54879e73dd26 /source/nmbd/nmbd_synclists.c | |
parent | eb45de167d24d07a218307ec5a48c0029ec097c6 (diff) | |
download | samba-94817a8ef53589011bc4ead4e17807a101acf5c9.tar.gz samba-94817a8ef53589011bc4ead4e17807a101acf5c9.tar.xz samba-94817a8ef53589011bc4ead4e17807a101acf5c9.zip |
r17571: Change the return code of cli_session_setup from BOOL to NTSTATUS
Volker
Diffstat (limited to 'source/nmbd/nmbd_synclists.c')
-rw-r--r-- | source/nmbd/nmbd_synclists.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/nmbd/nmbd_synclists.c b/source/nmbd/nmbd_synclists.c index 0e67c3f69c0..7fe39676c6f 100644 --- a/source/nmbd/nmbd_synclists.c +++ b/source/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; } |