[gaim-migrate @ 15901]

Sun, 19 Mar 2006 22:29:33 +0000

author
Tim Ringenbach <marv@pidgin.im>
date
Sun, 19 Mar 2006 22:29:33 +0000
changeset 13526
647e53c316bb
parent 13525
e5dc8090a9b0
child 13527
6e3aae1dc726

[gaim-migrate @ 15901]
let's not infinite loop here.

src/gtkconv.c file | annotate | diff | comparison | revisions
--- a/src/gtkconv.c	Sat Mar 18 10:20:13 2006 +0000
+++ b/src/gtkconv.c	Sun Mar 19 22:29:33 2006 +0000
@@ -6183,10 +6183,12 @@
 
 		conv = gtkconv->active_conv;
 
-		if(!gaim_status_is_available(
+		while(l && !gaim_status_is_available(
 					gaim_account_get_active_status(
 					gaim_conversation_get_account(conv))))
-			continue;
+			l = l->next;
+		if (!l)
+			break;
 
 		gaim_gtk_conv_window_remove_gtkconv(hidden_convwin, gtkconv);
 		gaim_gtkconv_placement_place(gtkconv);

mercurial