changeset 1731:7fc4b9fe295a

[gaim-migrate @ 1741] hi rob committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 20 Apr 2001 08:27:43 +0000
parents 2d7601acacdd
children e5ba877f51f2
files plugins/msn/msn.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/msn/msn.c	Fri Apr 20 07:50:47 2001 +0000
+++ b/plugins/msn/msn.c	Fri Apr 20 08:27:43 2001 +0000
@@ -392,6 +392,7 @@
 		gchar *user;
 		gchar *msgdata;
 		int size;
+		char rahc[MSN_BUF_LEN * 2];
 		       
 		res = g_strsplit(buf, " ", 0);
 
@@ -428,7 +429,8 @@
 		/* Otherwise, everything is ok. Let's show the message. Skipping, 
 		 * of course, the header. */
 
-		serv_got_im(gc, res[1], strstr(msgdata, "\r\n\r\n") + 4, 0);
+		g_snprintf(rahc, sizeof(rahc), "%s", strstr(msgdata, "\r\n\r\n") + 4);
+		serv_got_im(gc, res[1], rahc, 0);
 
 		g_strfreev(res);
 		g_free(msgdata);