Mercurial > pidgin
changeset 2865:88dc3623a2ae
[gaim-migrate @ 2878]
ok
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 10 Dec 2001 00:14:07 +0000 |
parents | e22c09351e67 |
children | 6d62d4520460 |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Mon Dec 10 00:05:12 2001 +0000 +++ b/src/protocols/oscar/oscar.c Mon Dec 10 00:14:07 2001 +0000 @@ -1501,6 +1501,7 @@ static int gaim_parse_genericerr(aim_session_t *sess, aim_frame_t *fr, ...) { va_list ap; fu16_t reason; + char *m; va_start(ap, fr); reason = (fu16_t)va_arg(ap, unsigned int); @@ -1509,6 +1510,11 @@ debug_printf("snac threw error (reason 0x%04x: %s)\n", reason, (reason < msgerrreasonlen) ? msgerrreason[reason] : "unknown"); + m = g_strdup_printf(_("SNAC threw error: %s\n"), + reason < msgerrreasonlen ? msgerrreason[reason] : "Unknown error"); + do_error_dialog(m, _("Gaim - Oscar SNAC Error")); + g_free(m); + return 1; }