# HG changeset patch # User Christian Hammond # Date 1054433975 0 # Node ID 4cc9e3fa22c4ecbcd73e5dfc293a8b842a383998 # Parent 8c895d80159a41d0c0ac6d5f8891620953d0a952 [gaim-migrate @ 6031] Fixed the disconnect_all() bug. committer: Tailor Script diff -r 8c895d80159a -r 4cc9e3fa22c4 src/connection.c --- 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); }