| 658 return TRUE; |
660 return TRUE; |
| 659 |
661 |
| 660 if (info != NULL) { |
662 if (info != NULL) { |
| 661 switch (type) { |
663 switch (type) { |
| 662 case TREPIA_USER_LIST: |
664 case TREPIA_USER_LIST: |
| |
665 gaim_connection_update_progress(session->gc, |
| |
666 _("Retrieving buddy list"), 2, TREPIA_CONNECT_STEPS); |
| |
667 |
| 663 gaim_connection_set_state(session->gc, GAIM_CONNECTED); |
668 gaim_connection_set_state(session->gc, GAIM_CONNECTED); |
| 664 serv_finish_login(session->gc); |
669 serv_finish_login(session->gc); |
| 665 break; |
670 break; |
| 666 |
671 |
| 667 case TREPIA_MSG_INCOMING: /* Incoming Message */ |
672 case TREPIA_MSG_INCOMING: /* Incoming Message */ |
| 1070 session->fd = -1; |
1078 session->fd = -1; |
| 1071 session->user_profiles = g_hash_table_new_full(g_int_hash, g_int_equal, |
1079 session->user_profiles = g_hash_table_new_full(g_int_hash, g_int_equal, |
| 1072 g_free, NULL); |
1080 g_free, NULL); |
| 1073 |
1081 |
| 1074 __clear_user_list(session); |
1082 __clear_user_list(session); |
| |
1083 |
| |
1084 gaim_connection_update_progress(gc, _("Connecting"), 0, |
| |
1085 TREPIA_CONNECT_STEPS); |
| 1075 |
1086 |
| 1076 i = gaim_proxy_connect(account, server, port, __login_cb, session); |
1087 i = gaim_proxy_connect(account, server, port, __login_cb, session); |
| 1077 |
1088 |
| 1078 if (i != 0) |
1089 if (i != 0) |
| 1079 gaim_connection_error(gc, _("Unable to create socket")); |
1090 gaim_connection_error(gc, _("Unable to create socket")); |