summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_misc.c b/source3/nsswitch/winbindd_misc.c
index 84af6c9647..f5363cad1a 100644
--- a/source3/nsswitch/winbindd_misc.c
+++ b/source3/nsswitch/winbindd_misc.c
@@ -127,7 +127,7 @@ enum winbindd_result winbindd_dual_list_trusted_domains(struct winbindd_domain *
if (!NT_STATUS_IS_OK(result)) {
DEBUG(3, ("winbindd_dual_list_trusted_domains: trusted_domains returned %s\n",
nt_errstr(result) ));
- num_domains = 0;
+ return WINBINDD_ERROR;
}
extra_data = talloc_strdup(state->mem_ctx, "");