Mercurial > pidgin.yaz
diff src/protocols/oscar/oscar.c @ 9810:f64e382d5334
[gaim-migrate @ 10681]
Fix a crash bug that only existed in CVS.
To reproduce, get info of an ICQ user not in your buddy list.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 22 Aug 2004 01:37:25 +0000 |
parents | f4a01638870e |
children | 6f2a90c36ee2 |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Sun Aug 22 00:18:44 2004 +0000 +++ b/src/protocols/oscar/oscar.c Sun Aug 22 01:37:25 2004 +0000 @@ -3060,6 +3060,7 @@ break; case AIM_IMCHARSET_ASCII: + case 0x000d: /* Mobile AIM client on a Nokia 3100 and an LG VX6000 */ default: /* Unknown, hope for valid UTF-8... */ if (g_utf8_validate(data, datalen, NULL)) { ret = g_strndup(data, datalen); @@ -4962,7 +4963,7 @@ else alias = who; primary = g_strdup_printf(_("ICQ Info for %s"), alias); - gaim_notify_userinfo(gc, buddy->name, NULL, primary, NULL, str->str, NULL, NULL); + gaim_notify_userinfo(gc, who, NULL, primary, NULL, str->str, NULL, NULL); g_free(primary); g_string_free(str, TRUE);