src/protocols/oscar/chatnav.c

changeset 10986
92a91fb514f4
parent 8735
01248ea222d3
child 10991
ad4c153f004f
--- a/src/protocols/oscar/chatnav.c	Thu Jun 09 02:22:36 2005 +0000
+++ b/src/protocols/oscar/chatnav.c	Thu Jun 09 03:58:58 2005 +0000
@@ -67,9 +67,9 @@
 	/* detail level */
 	aimbs_put8(&fr->data, 0x01);
 
-	aim_tlvlist_add_raw(&tl, 0x00d3, strlen(name), name);
-	aim_tlvlist_add_raw(&tl, 0x00d6, strlen(charset), charset);
-	aim_tlvlist_add_raw(&tl, 0x00d7, strlen(lang), lang);
+	aim_tlvlist_add_string(&tl, 0x00d3, name);
+	aim_tlvlist_add_string(&tl, 0x00d6, charset);
+	aim_tlvlist_add_string(&tl, 0x00d7, lang);
 
 	/* tlvcount */
 	aimbs_put16(&fr->data, aim_tlvlist_count(&tl));

mercurial