Jeremy, I'm not sure what you were trying to do with the process activity
authorTim Potter <tpot@samba.org>
Thu, 15 Nov 2001 06:53:47 +0000 (06:53 +0000)
committerTim Potter <tpot@samba.org>
Thu, 15 Nov 2001 06:53:47 +0000 (06:53 +0000)
loop in winbindd but it didn't work.
(This used to be commit 3ac32af83849e93c83cd1bb48dc7d23e47ccac59)

source3/nsswitch/winbindd.c

index 7a88711e7908ce3f2b6401822c2ff69a9f8f6ac6..c6a2f8033649cb7cc241b2fd42421a08ae86b827 100644 (file)
@@ -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 */