changeset 6802:662f5bef41b7

[gaim-migrate @ 7342] Fixed a nice little MSN bug I introduced where MSN messages weren't fully getting sent. This caused truncated messages and switchboard disconnects. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 10 Sep 2003 04:21:15 +0000
parents b4fe4c1023c6
children fb0ff4414e46
files src/protocols/msn/switchboard.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/switchboard.c	Wed Sep 10 01:14:00 2003 +0000
+++ b/src/protocols/msn/switchboard.c	Wed Sep 10 04:21:15 2003 +0000
@@ -255,7 +255,7 @@
 	servconn->parsing_multiline = TRUE;
 	servconn->multiline_type    = MSN_MULTILINE_MSG;
 	servconn->multiline_len     = atoi(params[2]);
-	
+
 	servconn->msg_passport = g_strdup(params[0]);
 	servconn->msg_friendly = g_strdup(params[1]);
 
@@ -653,7 +653,7 @@
 		return TRUE;
 	}
 
-	ret = msn_servconn_write(swboard->servconn, buf, msg->size);
+	ret = msn_servconn_write(swboard->servconn, buf, strlen(buf));
 
 	g_free(buf);