Mercurial > pidgin.yaz
comparison plugins/icq/gaim_icq.c @ 1153:3063e6743913
[gaim-migrate @ 1163]
handle the keepalives better. have ICQ force keepalives for connections, it's a bad hack but it's probably necessary for a UDP protocol.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 28 Nov 2000 04:12:06 +0000 |
parents | 201ec77f3a60 |
children | 5d1ded9f88b7 |
comparison
equal
deleted
inserted
replaced
1152:201ec77f3a60 | 1153:3063e6743913 |
---|---|
54 static void icq_online(ICQLINK *link) { | 54 static void icq_online(ICQLINK *link) { |
55 struct gaim_connection *gc = find_gaim_conn_by_icq_link(link); | 55 struct gaim_connection *gc = find_gaim_conn_by_icq_link(link); |
56 struct icq_data *id = (struct icq_data *)gc->proto_data; | 56 struct icq_data *id = (struct icq_data *)gc->proto_data; |
57 debug_printf("%s is now online.\n", gc->username); | 57 debug_printf("%s is now online.\n", gc->username); |
58 account_online(gc); | 58 account_online(gc); |
59 gc->options |= OPT_USR_KEEPALV; | |
59 serv_finish_login(gc); | 60 serv_finish_login(gc); |
60 | 61 |
61 if (bud_list_cache_exists(gc)) | 62 if (bud_list_cache_exists(gc)) |
62 do_import(NULL, gc); | 63 do_import(NULL, gc); |
63 | 64 |