Mercurial > pidgin.yaz
diff libpurple/protocols/oscar/userinfo.c @ 30795:879baaf87aa2
Added an error handler for family_icq.c. So far it works for
icq fullinfo and alias requests.
This was originally motivated by me getting "Server rate limit exceeded"
while testing authorization requests. This error completely prevented
the authorization request dialog from showing up.
author | ivan.komarov@soc.pidgin.im |
---|---|
date | Sun, 30 May 2010 19:01:30 +0000 |
parents | 9881f18b95b1 |
children | a347a4cd1caf |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/userinfo.c Sun May 30 13:53:45 2010 +0000 +++ b/libpurple/protocols/oscar/userinfo.c Sun May 30 19:01:30 2010 +0000 @@ -369,7 +369,7 @@ } void -oscar_user_info_display_error(OscarData *od, guint16 error_reason, char *buddy) +oscar_user_info_display_error(OscarData *od, guint16 error_reason, gchar *buddy) { PurpleNotifyUserInfo *user_info = purple_notify_user_info_new(); gchar *buf = g_strdup_printf(_("User information not available: %s"), oscar_get_msgerr_reason(error_reason)); @@ -395,7 +395,7 @@ if (!info->uin) return; - + user_info = purple_notify_user_info_new(); g_snprintf(who, sizeof(who), "%u", info->uin);