src/protocols/oscar/chat.c

changeset 6001
1abbeff6571c
parent 5927
f83c9f4afb60
child 7167
9cfb68a44e17
--- a/src/protocols/oscar/chat.c	Thu Jul 03 03:23:27 2003 +0000
+++ b/src/protocols/oscar/chat.c	Thu Jul 03 04:49:38 2003 +0000
@@ -532,7 +532,7 @@
 	/*
 	 * SubTLV: Type 1: Message
 	 */
-	aim_addtlvtochain_raw(&itl, 0x0001, strlen(msg), msg);
+	aim_addtlvtochain_raw(&itl, 0x0001, msglen, msg);
 
 	/*
 	 * Type 5: Message block.  Contains more TLVs.

mercurial