comparison libpurple/protocols/qq/group_conv.c @ 23561: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 44b4e8bd759b
children 1c50f12b1c52
comparison
equal deleted inserted replaced
23560:aade89b06762 23561:bdb38a8bf721
97 } 97 }
98 g_free(member_uid); 98 g_free(member_uid);
99 list = list->next; 99 list = list->next;
100 } 100 }
101 101
102 purple_conv_chat_add_users(PURPLE_CONV_CHAT(conv), names, NULL, flags, FALSE); 102 if (names != NULL && flags != NULL) {
103 purple_conv_chat_add_users(PURPLE_CONV_CHAT(conv), names, NULL, flags, FALSE);
104 }
103 } 105 }
104 /* clean up names */ 106 /* clean up names */
105 while (names != NULL) { 107 while (names != NULL) {
106 member_name = (gchar *) names->data; 108 member_name = (gchar *) names->data;
107 names = g_list_remove(names, member_name); 109 names = g_list_remove(names, member_name);