summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c
index 7a88711e79..c6a2f80336 100644
--- a/source3/nsswitch/winbindd.c
+++ b/source3/nsswitch/winbindd.c
@@ -596,7 +596,7 @@ static void process_loop(int accept_sock)
/* Process activity on client connections */
- for (state = client_list; state; ) {
+ for (state = client_list; state; state = state->next) {
/* Data available for reading */
@@ -637,8 +637,6 @@ static void process_loop(int accept_sock)
sizeof(state->request)) {
process_packet(state);
}
-
- state = state->next;
}
/* Data available for writing */