Mercurial > pidgin.yaz
comparison libpurple/protocols/qq/buddy_list.c @ 23052:51dbe83ebbd3
patch-04-tcp-pending
author | SHiNE CsyFeK <csyfek@gmail.com> |
---|---|
date | Tue, 24 Jun 2008 12:22:40 +0000 |
parents | 9a5d140400f1 |
children | 55f986ccbb6a |
comparison
equal
deleted
inserted
replaced
23051:190bc4ecf6c3 | 23052:51dbe83ebbd3 |
---|---|
36 #include "buddy_opt.h" | 36 #include "buddy_opt.h" |
37 #include "char_conv.h" | 37 #include "char_conv.h" |
38 #include "crypt.h" | 38 #include "crypt.h" |
39 #include "header_info.h" | 39 #include "header_info.h" |
40 #include "keep_alive.h" | 40 #include "keep_alive.h" |
41 #include "send_core.h" | |
42 #include "group.h" | 41 #include "group.h" |
43 #include "group_find.h" | 42 #include "group_find.h" |
44 #include "group_internal.h" | 43 #include "group_internal.h" |
45 #include "group_info.h" | 44 #include "group_info.h" |
46 | 45 |
47 #include "qq_proxy.h" | 46 #include "qq_network.h" |
48 | 47 |
49 #define QQ_GET_ONLINE_BUDDY_02 0x02 | 48 #define QQ_GET_ONLINE_BUDDY_02 0x02 |
50 #define QQ_GET_ONLINE_BUDDY_03 0x03 /* unknown function */ | 49 #define QQ_GET_ONLINE_BUDDY_03 0x03 /* unknown function */ |
51 | 50 |
52 #define QQ_ONLINE_BUDDY_ENTRY_LEN 38 | 51 #define QQ_ONLINE_BUDDY_ENTRY_LEN 38 |
162 if (!qq_decrypt(buf, buf_len, qd->session_key, data, &len)) { | 161 if (!qq_decrypt(buf, buf_len, qd->session_key, data, &len)) { |
163 purple_debug(PURPLE_DEBUG_ERROR, "QQ", "Error decrypt buddies online"); | 162 purple_debug(PURPLE_DEBUG_ERROR, "QQ", "Error decrypt buddies online"); |
164 return; | 163 return; |
165 } | 164 } |
166 | 165 |
167 _qq_show_packet("Get buddies online reply packet", data, len); | 166 qq_show_packet("Get buddies online reply packet", data, len); |
168 | 167 |
169 bytes = 0; | 168 bytes = 0; |
170 bytes += qq_get8(&position, data + bytes); | 169 bytes += qq_get8(&position, data + bytes); |
171 | 170 |
172 fe = g_newa(qq_friends_online_entry, 1); | 171 fe = g_newa(qq_friends_online_entry, 1); |