libpurple/protocols/qq/group_search.c

branch
openq
changeset 24351
1a8ddb995ff2
parent 24350
a092f0a371d8
child 24352
871c27553af6
--- a/libpurple/protocols/qq/group_search.c	Wed Oct 22 14:48:46 2008 +0000
+++ b/libpurple/protocols/qq/group_search.c	Wed Oct 22 14:49:38 2008 +0000
@@ -110,10 +110,10 @@
 	bytes += qq_get16(&(unknown), data + bytes);
 	bytes += qq_get16(&(unknown), data + bytes);
 	bytes += qq_get32(&(group.category), data + bytes);
-	bytes += qq_get_vstr(&(group.title_utf8), QQ_CHARSET_DEFAULT, data + bytes);
+	bytes += convert_as_pascal_string(data + bytes, &(group.title_utf8), QQ_CHARSET_DEFAULT);
 	bytes += qq_get16(&(unknown), data + bytes);
 	bytes += qq_get8(&(group.auth_type), data + bytes);
-	bytes += qq_get_vstr(&(group.desc_utf8), QQ_CHARSET_DEFAULT, data + bytes);
+	bytes += convert_as_pascal_string(data + bytes, &(group.desc_utf8), QQ_CHARSET_DEFAULT);
 	/* end of one qq_group */
 	if(bytes != len) {
 		purple_debug_error("QQ",

mercurial