Mercurial > pidgin
comparison libpurple/protocols/qq/group_search.c @ 24145:ec3f7d3e0445
2008.10.04 - lonicerae <lonicerae(at)gmail.com>
* fixed a bug in qq_base.c
author | SHiNE CsyFeK <csyfek@gmail.com> |
---|---|
date | Wed, 22 Oct 2008 14:49:38 +0000 |
parents | a95c7e71064c |
children | ce94189f15ad |
comparison
equal
deleted
inserted
replaced
24144:a95c7e71064c | 24145:ec3f7d3e0445 |
---|---|
108 bytes += qq_get32(&(group.creator_uid), data + bytes); | 108 bytes += qq_get32(&(group.creator_uid), data + bytes); |
109 bytes += qq_get16(&(unknown), data + bytes); | 109 bytes += qq_get16(&(unknown), data + bytes); |
110 bytes += qq_get16(&(unknown), data + bytes); | 110 bytes += qq_get16(&(unknown), data + bytes); |
111 bytes += qq_get16(&(unknown), data + bytes); | 111 bytes += qq_get16(&(unknown), data + bytes); |
112 bytes += qq_get32(&(group.category), data + bytes); | 112 bytes += qq_get32(&(group.category), data + bytes); |
113 bytes += qq_get_vstr(&(group.title_utf8), QQ_CHARSET_DEFAULT, data + bytes); | 113 bytes += convert_as_pascal_string(data + bytes, &(group.title_utf8), QQ_CHARSET_DEFAULT); |
114 bytes += qq_get16(&(unknown), data + bytes); | 114 bytes += qq_get16(&(unknown), data + bytes); |
115 bytes += qq_get8(&(group.auth_type), data + bytes); | 115 bytes += qq_get8(&(group.auth_type), data + bytes); |
116 bytes += qq_get_vstr(&(group.desc_utf8), QQ_CHARSET_DEFAULT, data + bytes); | 116 bytes += convert_as_pascal_string(data + bytes, &(group.desc_utf8), QQ_CHARSET_DEFAULT); |
117 /* end of one qq_group */ | 117 /* end of one qq_group */ |
118 if(bytes != len) { | 118 if(bytes != len) { |
119 purple_debug_error("QQ", | 119 purple_debug_error("QQ", |
120 "group_cmd_search_group: Dangerous error! maybe protocol changed, notify developers!"); | 120 "group_cmd_search_group: Dangerous error! maybe protocol changed, notify developers!"); |
121 } | 121 } |