Mercurial > pidgin.yaz
comparison src/protocols/oscar/oscar.c @ 2589:4e149a0b9665
[gaim-migrate @ 2602]
i don't like some people.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 23 Oct 2001 20:29:42 +0000 |
parents | 1069b0940237 |
children | 2dd86a1af92b |
comparison
equal
deleted
inserted
replaced
2588:a3117e29317d | 2589:4e149a0b9665 |
---|---|
439 struct gaim_connection *gc = new_gaim_conn(user); | 439 struct gaim_connection *gc = new_gaim_conn(user); |
440 struct oscar_data *odata = gc->proto_data = g_new0(struct oscar_data, 1); | 440 struct oscar_data *odata = gc->proto_data = g_new0(struct oscar_data, 1); |
441 odata->create_exchange = 0; | 441 odata->create_exchange = 0; |
442 | 442 |
443 debug_printf(_("Logging in %s\n"), user->username); | 443 debug_printf(_("Logging in %s\n"), user->username); |
444 if (isdigit(*user->username)) | 444 if (isdigit(*user->username)) { |
445 odata->icq = TRUE; | 445 odata->icq = TRUE; |
446 /* this is odd but it's necessary for a proper do_import and do_export */ | |
447 gc->protocol = PROTO_ICQ; | |
448 } | |
446 | 449 |
447 sess = g_new0(aim_session_t, 1); | 450 sess = g_new0(aim_session_t, 1); |
448 | 451 |
449 aim_session_init(sess, AIM_SESS_FLAGS_NONBLOCKCONNECT, 0); | 452 aim_session_init(sess, AIM_SESS_FLAGS_NONBLOCKCONNECT, 0); |
450 aim_setdebuggingcb(sess, oscar_debug); | 453 aim_setdebuggingcb(sess, oscar_debug); |