comparison libpurple/protocols/qq/im.c @ 23879:23cec4360d4a

applied changes from 8cebefbc6cd5d84acb69c74e69e8821f11dd225d through 92d52eef2994d2697999177804e3665989cfa352 Reapplied 92d52eef2994d2697999177804e3665989cfa352 at the right time. 2008.09.02 - ccpaging <ccpaging(at)gmail.com> * Bugfix: can not send message to the QUN blocked adding * Tickets: Fixes #6957 Fixes #6990 2008.09.02 - ccpaging <ccpaging(at)gmail.com> * Use new tactics of information update: 1. send next package till the previous package received 2. fix duplicated get_room_info and get_room_buddies command committer: Daniel Atallah <daniel.atallah@gmail.com>
author SHiNE CsyFeK <csyfek@gmail.com>
date Mon, 15 Sep 2008 03:01:03 +0000
parents 967344bc404d
children 1a0caf9983fa 6408be948d56
comparison
equal deleted inserted replaced
23878:967344bc404d 23879:23cec4360d4a
257 #if 0 257 #if 0
258 qq_show_packet("Rcv news", data, data_len); 258 qq_show_packet("Rcv news", data, data_len);
259 #endif 259 #endif
260 260
261 temp = g_newa(guint8, data_len); 261 temp = g_newa(guint8, data_len);
262 bytes = 4; // ignore unknown 4 bytes 262 bytes = 4; /* ignore unknown 4 bytes */
263 263
264 bytes += qq_get8(&temp_len, data + bytes); 264 bytes += qq_get8(&temp_len, data + bytes);
265 g_return_if_fail(bytes + temp_len <= data_len); 265 g_return_if_fail(bytes + temp_len <= data_len);
266 bytes += qq_getdata(temp, temp_len, data+bytes); 266 bytes += qq_getdata(temp, temp_len, data+bytes);
267 title = g_strndup((gchar *)temp, temp_len); 267 title = g_strndup((gchar *)temp, temp_len);