# HG changeset patch # User Eric Warmenhoven # Date 986584228 0 # Node ID 85d8c64e969de9193a5b7164dbb56c182f264b45 # Parent c9921a214121e3bc55157197d90156633155eac1 [gaim-migrate @ 1698] linky linky committer: Tailor Script diff -r c9921a214121 -r 85d8c64e969d plugins/jabber/jabber.c --- a/plugins/jabber/jabber.c Thu Apr 05 19:43:05 2001 +0000 +++ b/plugins/jabber/jabber.c Fri Apr 06 19:10:28 2001 +0000 @@ -549,8 +549,11 @@ p->from->resource, msg); write_to_conv(b, buf, WFLAG_SYSTEM, NULL); } - } else if (msg) - serv_got_chat_in(GJ_GC(j), b->id, p->from->resource, 0, msg); + } else if (msg) { + char buf[8192]; + g_snprintf(buf, sizeof(buf), "%s", msg); + serv_got_chat_in(GJ_GC(j), b->id, p->from->resource, 0, buf); + } /* } else if (msg) { write_to_conv(b, msg, WFLAG_SYSTEM, NULL);