Fri, 20 Apr 2001 08:27:43 +0000
[gaim-migrate @ 1741]
hi rob
| plugins/msn/msn.c | file | annotate | diff | comparison | revisions |
--- 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);