src/protocols/oscar/im.c

changeset 9933
61bd3fadbfe6
parent 9826
8fd989d134e0
child 10035
03f36b9a1276
--- a/src/protocols/oscar/im.c	Thu Sep 02 02:49:00 2004 +0000
+++ b/src/protocols/oscar/im.c	Thu Sep 02 03:46:53 2004 +0000
@@ -1828,8 +1828,10 @@
 	/*
 	 * Invitation message / chat description.
 	 */
-	if (aim_tlv_gettlv(list2, 0x000c, 1))
+	if (aim_tlv_gettlv(list2, 0x000c, 1)) {
 		args.msg = aim_tlv_getstr(list2, 0x000c, 1);
+		args.msglen = aim_tlv_getlength(list2, 0x000c, 1);
+	}
 
 	/*
 	 * Character set.

mercurial