comparison src/connection.c @ 5623:8c895d80159a

[gaim-migrate @ 6030] lala. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 01 Jun 2003 02:00:09 +0000
parents 70ae81fc802f
children 4cc9e3fa22c4
comparison
equal deleted inserted replaced
5622:70ae81fc802f 5623:8c895d80159a
38 gc->prpl = gaim_find_prpl(gaim_account_get_protocol(account)); 38 gc->prpl = gaim_find_prpl(gaim_account_get_protocol(account));
39 39
40 gaim_connection_set_account(gc, account); 40 gaim_connection_set_account(gc, account);
41 gaim_account_set_connection(account, gc); 41 gaim_account_set_connection(account, gc);
42 42
43 connections = g_list_append(connections, gc);
44
45 return gc; 43 return gc;
46 } 44 }
47 45
48 void 46 void
49 gaim_connection_destroy(GaimConnection *gc) 47 gaim_connection_destroy(GaimConnection *gc)
96 } 94 }
97 95
98 gaim_connection_set_state(gc, GAIM_CONNECTING); 96 gaim_connection_set_state(gc, GAIM_CONNECTING);
99 97
100 gaim_debug(GAIM_DEBUG_INFO, "connection", "Calling serv_login\n"); 98 gaim_debug(GAIM_DEBUG_INFO, "connection", "Calling serv_login\n");
99
100 connections = g_list_append(connections, gc);
101 101
102 serv_login(account); 102 serv_login(account);
103 } 103 }
104 104
105 void 105 void