summaryrefslogtreecommitdiffstats
path: root/source3/nmbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-09-11 18:57:49 +0200
committerVolker Lendecke <vl@samba.org>2008-12-19 10:28:30 +0100
commitbb8ca0fdbf0fe68ad2cd47d6f8d68743bfbacdec (patch)
tree99e4cf8220c138e0fce24d8fc87b7f23fb156905 /source3/nmbd
parent96a3d7be3151c93db9857bb065721c0c7961b2e8 (diff)
downloadsamba-bb8ca0fdbf0fe68ad2cd47d6f8d68743bfbacdec.tar.gz
samba-bb8ca0fdbf0fe68ad2cd47d6f8d68743bfbacdec.tar.xz
samba-bb8ca0fdbf0fe68ad2cd47d6f8d68743bfbacdec.zip
Make cli_negprot return NTSTATUS instead of bool
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 5a2f5c46b4b..9e09060f278 100644
--- a/source3/nmbd/nmbd_synclists.c
+++ b/source3/nmbd/nmbd_synclists.c
@@ -100,7 +100,8 @@ static void sync_child(char *name, int nm_type,
return;
}
- if (!cli_negprot(cli)) {
+ status = cli_negprot(cli);
+ if (!NT_STATUS_IS_OK(status)) {
cli_shutdown(cli);
return;
}