summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_group.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd_group.c b/source3/nsswitch/winbindd_group.c
index 2dbc5ded49..092651c9a7 100644
--- a/source3/nsswitch/winbindd_group.c
+++ b/source3/nsswitch/winbindd_group.c
@@ -802,7 +802,7 @@ enum winbindd_result winbindd_list_groups(struct winbindd_cli_state *state)
/* skip remainder of loop if we idn;t retrieve any groups */
if (num_domain_entries == 0)
- goto next_group;
+ continue;
/* setup the groups struct to contain all the groups
retrieved for this domain */
@@ -849,8 +849,6 @@ enum winbindd_result winbindd_list_groups(struct winbindd_cli_state *state)
extra_data[extra_data_len++] = ',';
}
-
- next_group:
}
/* Assign extra_data fields in response structure */