diff src/server.c @ 5776:147f4c25af15

[gaim-migrate @ 6201] compile fixes and cleanups committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 06 Jun 2003 16:53:22 +0000
parents 666b04f93c55
children f8bee920b14e
line wrap: on
line diff
--- a/src/server.c	Fri Jun 06 16:20:52 2003 +0000
+++ b/src/server.c	Fri Jun 06 16:53:22 2003 +0000
@@ -1149,7 +1149,7 @@
 	gaim_blist_update_buddy_presence(b, loggedin);
 
 	/* Now, update the rest of the buddies in the list */
-	while (b = gaim_find_buddy(gc->account, NULL)) {
+	while ((b = gaim_find_buddy(gc->account, NULL)) != NULL) {
 		gaim_blist_update_buddy_presence(b, loggedin);
 		gaim_blist_update_buddy_idle(b, idle);
 		gaim_blist_update_buddy_evil(b, evil);