From: Christian H. <ch...@us...> - 2003-07-24 05:43:23
|
Update of /cvsroot/gaim/gaim/src In directory sc8-pr-cvs1:/tmp/cvs-serv9665 Modified Files: connection.c Log Message: The connection is now added to the list when it is created instead of when it starts connecting. Index: connection.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/connection.c,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- connection.c 19 Jul 2003 18:15:06 -0000 1.37 +++ connection.c 24 Jul 2003 05:43:14 -0000 1.38 @@ -51,6 +51,8 @@ gaim_connection_set_account(gc, account); gaim_account_set_connection(account, gc); + connections = g_list_append(connections, gc); + return gc; } @@ -149,8 +151,6 @@ gaim_connection_set_state(gc, GAIM_CONNECTING); gaim_debug(GAIM_DEBUG_INFO, "connection", "Calling serv_login\n"); - - connections = g_list_append(connections, gc); serv_login(account); } |