diff src/protocols/msn/msg.c @ 6842:bd433a45a463

[gaim-migrate @ 7387] Committing what I have of MSN before I screw up my tree with some other changes. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 14 Sep 2003 22:00:11 +0000
parents a372cf34387e
children ab80de7a74d1
line wrap: on
line diff
--- a/src/protocols/msn/msg.c	Sun Sep 14 21:32:17 2003 +0000
+++ b/src/protocols/msn/msg.c	Sun Sep 14 22:00:11 2003 +0000
@@ -421,7 +421,7 @@
 
 		if (body != NULL)
 		{
-			g_strlcpy(c, body, c - msg_start);
+			g_strlcpy(c, body, msg->size - (c - msg_start));
 
 			c += strlen(body);