Mercurial > pidgin.yaz
comparison src/protocols/oscar/oscar.c @ 2762:8eb8db9a8449
[gaim-migrate @ 2775]
this always bothered me
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 19 Nov 2001 11:19:52 +0000 |
parents | 642413968b03 |
children | 8a918df1a5ed |
comparison
equal
deleted
inserted
replaced
2761:367d19133917 | 2762:8eb8db9a8449 |
---|---|
441 char buf[256]; | 441 char buf[256]; |
442 struct gaim_connection *gc = new_gaim_conn(user); | 442 struct gaim_connection *gc = new_gaim_conn(user); |
443 struct oscar_data *odata = gc->proto_data = g_new0(struct oscar_data, 1); | 443 struct oscar_data *odata = gc->proto_data = g_new0(struct oscar_data, 1); |
444 odata->create_exchange = 0; | 444 odata->create_exchange = 0; |
445 | 445 |
446 debug_printf(_("Logging in %s\n"), user->username); | |
447 if (isdigit(*user->username)) { | 446 if (isdigit(*user->username)) { |
448 odata->icq = TRUE; | 447 odata->icq = TRUE; |
449 /* this is odd but it's necessary for a proper do_import and do_export */ | 448 /* this is odd but it's necessary for a proper do_import and do_export */ |
450 gc->protocol = PROTO_ICQ; | 449 gc->protocol = PROTO_ICQ; |
451 gc->checkbox = _("Send offline message"); | 450 gc->checkbox = _("Send offline message"); |
1613 va_end(ap); | 1612 va_end(ap); |
1614 | 1613 |
1615 aim_getbuildstring(buildbuf, sizeof(buildbuf)); | 1614 aim_getbuildstring(buildbuf, sizeof(buildbuf)); |
1616 | 1615 |
1617 debug_printf("MOTD: %s (%d)\n", msg ? msg : "Unknown", id); | 1616 debug_printf("MOTD: %s (%d)\n", msg ? msg : "Unknown", id); |
1618 debug_printf("Gaim %s / libfaim %s\n", VERSION, buildbuf); | |
1619 if (id < 4) | 1617 if (id < 4) |
1620 do_error_dialog(_("Your connection may be lost."), | 1618 do_error_dialog(_("Your connection may be lost."), |
1621 _("AOL error")); | 1619 _("AOL error")); |
1622 | 1620 |
1623 return 1; | 1621 return 1; |