comparison src/protocols/oscar/oscar.c @ 10560:33746d45bd0d

[gaim-migrate @ 11938] Some stuff I have lying around in my tree. Shouldn't change any functionality, mostly just notes to myself/anyone interested in working on oscar. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 01 Feb 2005 03:52:46 +0000
parents b08a37897395
children 3e2cd3fe8897
comparison
equal deleted inserted replaced
10559:c354b70d8502 10560:33746d45bd0d
4244 destn = va_arg(ap, char *); 4244 destn = va_arg(ap, char *);
4245 va_end(ap); 4245 va_end(ap);
4246 4246
4247 if (destn == NULL) 4247 if (destn == NULL)
4248 return 1; 4248 return 1;
4249 4249
4250 buf = g_strdup_printf(_("User information not available: %s"), (reason < msgerrreasonlen) ? _(msgerrreason[reason]) : _("Unknown reason.")); 4250 buf = g_strdup_printf(_("User information not available: %s"), (reason < msgerrreasonlen) ? _(msgerrreason[reason]) : _("Unknown reason."));
4251 if (!gaim_conv_present_error(destn, gaim_connection_get_account((GaimConnection*)sess->aux_data), buf)) { 4251 if (!gaim_conv_present_error(destn, gaim_connection_get_account((GaimConnection*)sess->aux_data), buf)) {
4252 g_free(buf); 4252 g_free(buf);
4253 buf = g_strdup_printf(_("User information for %s unavailable:"), destn); 4253 buf = g_strdup_printf(_("User information for %s unavailable:"), destn);
4254 gaim_notify_error(sess->aux_data, NULL, buf, (reason < msgerrreasonlen) ? _(msgerrreason[reason]) : _("Unknown reason.")); 4254 gaim_notify_error(sess->aux_data, NULL, buf, (reason < msgerrreasonlen) ? _(msgerrreason[reason]) : _("Unknown reason."));
5812 } else { 5812 } else {
5813 5813
5814 if (aim_sn_is_icq(gaim_account_get_username(account))) 5814 if (aim_sn_is_icq(gaim_account_get_username(account)))
5815 oscar_set_status_icq(account, status); 5815 oscar_set_status_icq(account, status);
5816 else 5816 else
5817 /* QQQ - Should probably also set this for ICQ */
5817 oscar_set_status_aim(account, status); 5818 oscar_set_status_aim(account, status);
5818 } 5819 }
5819 return; 5820 return;
5820 } 5821 }
5821 5822