changeset 2870:50547c3729fa

[gaim-migrate @ 2883] hm committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 10 Dec 2001 20:10:03 +0000
parents 9b029055cfba
children 10b808bee701
files src/protocols/msn/msn.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Mon Dec 10 06:13:18 2001 +0000
+++ b/src/protocols/msn/msn.c	Mon Dec 10 20:10:03 2001 +0000
@@ -1515,7 +1515,7 @@
 	utf8 = str_to_utf8(send);
 	g_free(send);
 	g_snprintf(buf, sizeof(buf), "MSG %d N %d\r\n%s%s", ++ms->trId,
-			strlen(MIME_HEADER) + strlen(message),
+			strlen(MIME_HEADER) + strlen(utf8),
 			MIME_HEADER, utf8);
 	g_free(utf8);
 	if (msn_write(ms->fd, buf, strlen(buf)) < 0) {