summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-11-15 06:53:47 +0000
committerTim Potter <tpot@samba.org>2001-11-15 06:53:47 +0000
commit1539c2f34b52b3fbc7ff2f9e7515f04f5aaf0f5d (patch)
treefeb9b62765bce8bc918fad2426c58f9c4a764ac3
parent451f7c1ac48559f40d28ffe66bd0cc287056fa6f (diff)
downloadsamba-1539c2f34b52b3fbc7ff2f9e7515f04f5aaf0f5d.tar.gz
samba-1539c2f34b52b3fbc7ff2f9e7515f04f5aaf0f5d.tar.bz2
samba-1539c2f34b52b3fbc7ff2f9e7515f04f5aaf0f5d.zip
Jeremy, I'm not sure what you were trying to do with the process activity
loop in winbindd but it didn't work. (This used to be commit 3ac32af83849e93c83cd1bb48dc7d23e47ccac59)
-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 */