# HG changeset patch # User Christian Hammond # Date 1059025394 0 # Node ID 3ac22495348312a50d09393634493814bc3a6977 # Parent 44daf60ae44a51078967a61cd382b57650ab6bca [gaim-migrate @ 6795] The connection is now added to the list when it is created instead of when it starts connecting. committer: Tailor Script diff -r 44daf60ae44a -r 3ac224953483 src/connection.c --- a/src/connection.c Thu Jul 24 05:32:53 2003 +0000 +++ b/src/connection.c Thu Jul 24 05:43:14 2003 +0000 @@ -51,6 +51,8 @@ gaim_connection_set_account(gc, account); gaim_account_set_connection(account, gc); + connections = g_list_append(connections, gc); + return gc; } @@ -150,8 +152,6 @@ gaim_debug(GAIM_DEBUG_INFO, "connection", "Calling serv_login\n"); - connections = g_list_append(connections, gc); - serv_login(account); }