comparison libpurple/protocols/qq/group_internal.c @ 23606:bdb38a8bf721

20080717-05-1-fix-keep-alive ccpaging <ecc_hy(at)hotmail.com> * Fixed: Always lost connection. Now send keep alive packet in every 30 seconds * Minor fix for debug information * Filter \r\n and replace with SPCAE in group notive * Fixed a memory leak Tickets: Fixes #4024.
author SHiNE CsyFeK <csyfek@gmail.com>
date Thu, 17 Jul 2008 15:12:42 +0000
parents ebad75b719f5
children 5f454b975a99
comparison
equal deleted inserted replaced
23605:aade89b06762 23606:bdb38a8bf721
228 *list = g_slist_prepend(*list, GINT_TO_POINTER(id)); 228 *list = g_slist_prepend(*list, GINT_TO_POINTER(id));
229 else 229 else
230 *list = g_slist_remove(*list, GINT_TO_POINTER(id)); 230 *list = g_slist_remove(*list, GINT_TO_POINTER(id));
231 } 231 }
232 232
233 /** 233 /* Return the location of id in list, or NULL if not found */
234 * @brief Return the location of id in list, or NULL if not found (返回id在链表中的位置,没有找到则返回NULL)
235 */
236 GSList *qq_get_pending_id(GSList *list, guint32 id) 234 GSList *qq_get_pending_id(GSList *list, guint32 id)
237 { 235 {
238 return g_slist_find(list, GINT_TO_POINTER(id)); 236 return g_slist_find(list, GINT_TO_POINTER(id));
239 } 237 }