Mercurial > pidgin.yaz
changeset 5134:2acc2ee66597
[gaim-migrate @ 5498]
Whoops.
This fixes the bug where gaim would sometimes respond with your
profile info instead of your away message.
Sorry about that, it was completely my fault.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 15 Apr 2003 03:10:45 +0000 |
parents | 9f40039a027f |
children | 102135caa225 |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Mon Apr 14 22:37:04 2003 +0000 +++ b/src/protocols/oscar/oscar.c Tue Apr 15 03:10:45 2003 +0000 @@ -4346,16 +4346,13 @@ msg = g_convert(text, strlen(text), "UCS-2BE", "UTF-8", NULL, &msglen, NULL); aim_bos_setprofile(od->sess, od->conn, "unicode-2-0", msg, (msglen > od->rights.maxsiglen ? od->rights.maxsiglen : msglen), NULL, NULL, 0, caps_aim); g_free(msg); - gc->away = g_strndup(text, od->rights.maxsiglen/2); } else if (flags & AIM_IMFLAGS_ISO_8859_1) { msg = g_convert(text, strlen(text), "ISO-8859-1", "UTF-8", NULL, &msglen, NULL); aim_bos_setprofile(od->sess, od->conn, "iso-8859-1", msg, (msglen > od->rights.maxsiglen ? od->rights.maxsiglen : msglen), NULL, NULL, 0, caps_aim); g_free(msg); - gc->away = g_strndup(text, od->rights.maxsiglen); } else { msglen = strlen(text); aim_bos_setprofile(od->sess, od->conn, "us-ascii", text, (msglen > od->rights.maxsiglen ? od->rights.maxsiglen : msglen), NULL, NULL, 0, caps_aim); - gc->away = g_strndup(text, od->rights.maxsiglen); } if (msglen > od->rights.maxsiglen) {