mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
s3-winbindd: Adjust error code loop logic in rpc_trusted_domains().
Guenther Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Sat Sep 29 00:34:04 CEST 2012 on sn-devel-104
This commit is contained in:
parent
e792a44c34
commit
837f47d630
@ -987,7 +987,7 @@ NTSTATUS rpc_trusted_domains(TALLOC_CTX *mem_ctx,
|
|||||||
&dom_list_ex,
|
&dom_list_ex,
|
||||||
(uint32_t) -1,
|
(uint32_t) -1,
|
||||||
&result);
|
&result);
|
||||||
if (NT_STATUS_IS_OK(status) && NT_STATUS_IS_OK(result) &&
|
if (NT_STATUS_IS_OK(status) && !NT_STATUS_IS_ERR(result) &&
|
||||||
dom_list_ex.count > 0) {
|
dom_list_ex.count > 0) {
|
||||||
count += dom_list_ex.count;
|
count += dom_list_ex.count;
|
||||||
has_ex = true;
|
has_ex = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user