comparison libpurple/protocols/qq/send_file.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 5c70d953a497
children 1c50f12b1c52
comparison
equal deleted inserted replaced
23560:aade89b06762 23561:bdb38a8bf721
154 PurpleConnection *gc = purple_account_get_connection(account); 154 PurpleConnection *gc = purple_account_get_connection(account);
155 guint8 *buf; 155 guint8 *buf;
156 gint size; 156 gint size;
157 /* FIXME: It seems that the transfer never use a packet 157 /* FIXME: It seems that the transfer never use a packet
158 * larger than 1500 bytes, so if it happened to be a 158 * larger than 1500 bytes, so if it happened to be a
159 * larger packet, either error occurred or protocol should 159 * larger packet, either error occured or protocol should
160 * be modified 160 * be modified
161 */ 161 */
162 ft_info *info; 162 ft_info *info;
163 info = xfer->data; 163 info = xfer->data;
164 g_return_if_fail (source == info->recv_fd); 164 g_return_if_fail (source == info->recv_fd);