diff options
author | Volker Lendecke <vl@samba.org> | 2008-09-11 18:57:49 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-12-19 10:28:30 +0100 |
commit | bb8ca0fdbf0fe68ad2cd47d6f8d68743bfbacdec (patch) | |
tree | 99e4cf8220c138e0fce24d8fc87b7f23fb156905 /source3/nmbd | |
parent | 96a3d7be3151c93db9857bb065721c0c7961b2e8 (diff) | |
download | samba-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.c | 3 |
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; } |