Mercurial > pidgin.yaz
diff libpurple/protocols/msn/msg.c @ 27771:085d0a18a7f7
propagate from branch 'im.pidgin.pidgin' (head 7bbbd3b5812df69c6884596a4343b688d73c3124)
to branch 'im.pidgin.pidgin.yaz' (head 9cfa4c04679a643911c1b80123ea1e531b825074)
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Thu, 28 Feb 2008 12:28:35 +0000 |
parents | bc47a0388c66 |
children | 0f3a131d23da |
line wrap: on
line diff
--- a/libpurple/protocols/msn/msg.c Thu Feb 28 11:25:49 2008 +0000 +++ b/libpurple/protocols/msn/msg.c Thu Feb 28 12:28:35 2008 +0000 @@ -522,9 +522,7 @@ if (data != NULL && len > 0) { - msg->body = g_malloc0(len + 1); - memcpy(msg->body, data, len); - msg->body_len = len; + msg->body = botch_utf((void *)data, len, &msg->body_len); /* yaz */ } else {