comparison src/protocols/oscar/oscar.c @ 5579:e0146fcc4718

[gaim-migrate @ 5983] Me spoke too soon. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 31 May 2003 02:20:09 +0000
parents 7ed9999926af
children 86456ec3ca25
comparison
equal deleted inserted replaced
5578:847ad796326d 5579:e0146fcc4718
487 g_snprintf(buf, sizeof buf, _("Direct IM with %s failed"), sn); 487 g_snprintf(buf, sizeof buf, _("Direct IM with %s failed"), sn);
488 488
489 if ((cnv = gaim_find_conversation(sn))) 489 if ((cnv = gaim_find_conversation(sn)))
490 gaim_conversation_write(cnv, NULL, buf, -1, WFLAG_SYSTEM, time(NULL)); 490 gaim_conversation_write(cnv, NULL, buf, -1, WFLAG_SYSTEM, time(NULL));
491 491
492 gaim_conversation_update_progress(cnv, NULL, u100); 492 gaim_conversation_update_progress(cnv, 0);
493 493
494 g_free(dim); /* I guess? I don't see it anywhere else... -- mid */ 494 g_free(dim); /* I guess? I don't see it anywhere else... -- mid */
495 g_free(sn); 495 g_free(sn);
496 496
497 return; 497 return;
3670 3670
3671 gaim_debug(GAIM_DEBUG_INFO, "oscar", 3671 gaim_debug(GAIM_DEBUG_INFO, "oscar",
3672 "Disconnected. Code is 0x%04x and msg is %s\n", code, msg); 3672 "Disconnected. Code is 0x%04x and msg is %s\n", code, msg);
3673 if ((fr) && (fr->conn) && (fr->conn->type == AIM_CONN_TYPE_BOS)) { 3673 if ((fr) && (fr->conn) && (fr->conn->type == AIM_CONN_TYPE_BOS)) {
3674 if (code == 0x0001) { 3674 if (code == 0x0001) {
3675 gaim_connection_error_error(gc, _("You have been disconnected because you have signed on with this screen name at another location.")); 3675 gaim_connection_error(gc, _("You have been disconnected because you have signed on with this screen name at another location."));
3676 } else { 3676 } else {
3677 gaim_connection_error_error(gc, _("You have been signed off for an unknown reason.")); 3677 gaim_connection_error(gc, _("You have been signed off for an unknown reason."));
3678 } 3678 }
3679 od->killme = TRUE; 3679 od->killme = TRUE;
3680 } 3680 }
3681 3681
3682 return 1; 3682 return 1;