Mercurial > pidgin.yaz
comparison libpurple/protocols/qq/group_search.c @ 24075:a95c7e71064c
2008.10.05 - ccpaging <ccpagint(at)gmail.com>
* Add my uid into buddy list
* Fixed a minor bug in qq_create_buddy. Not get new buddy's info.
* There are 38 fields in protocol 2008, one more than 2005/2007.
* The packet of Modifing buddy info is changed. Need sample to fix it.
author | SHiNE CsyFeK <csyfek@gmail.com> |
---|---|
date | Wed, 22 Oct 2008 14:48:46 +0000 |
parents | bdfcfd71449c |
children | ec3f7d3e0445 |
comparison
equal
deleted
inserted
replaced
24074:c2253c485728 | 24075:a95c7e71064c |
---|---|
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 += convert_as_pascal_string(data + bytes, &(group.title_utf8), QQ_CHARSET_DEFAULT); | 113 bytes += qq_get_vstr(&(group.title_utf8), QQ_CHARSET_DEFAULT, data + bytes); |
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 += convert_as_pascal_string(data + bytes, &(group.desc_utf8), QQ_CHARSET_DEFAULT); | 116 bytes += qq_get_vstr(&(group.desc_utf8), QQ_CHARSET_DEFAULT, data + bytes); |
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 } |