# HG changeset patch # User Mark Doliner # Date 1050376245 0 # Node ID 2acc2ee66597df00335d07b2604bf78611349b97 # Parent 9f40039a027fdf276343c1934fb4ee2f82ef25af [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 diff -r 9f40039a027f -r 2acc2ee66597 src/protocols/oscar/oscar.c --- 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) {