changeset 5624:4cc9e3fa22c4

[gaim-migrate @ 6031] Fixed the disconnect_all() bug. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 01 Jun 2003 02:19:35 +0000
parents 8c895d80159a
children 73c9dc20e41a
files src/connection.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }