diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/nsswitch/winbindd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/nsswitch/winbindd.c b/source/nsswitch/winbindd.c index 7a88711e790..c6a2f803364 100644 --- a/source/nsswitch/winbindd.c +++ b/source/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 */ |