src/connection.c

changeset 5624
b1240853c0e7
parent 5623
9c9bb883154b
child 5631
7f510b22ccf5
--- a/src/connection.c	Sun Jun 01 02:00:09 2003 +0000
+++ b/src/connection.c	Sun Jun 01 02:19:35 2003 +0000
@@ -339,7 +339,7 @@
 {
 	GList *l;
 
-	for (l = gaim_connections_get_all(); l != NULL; l = l->next)
+	while ((l = gaim_connections_get_all()) != NULL)
 		gaim_connection_destroy(l->data);
 }
 

mercurial