Mercurial > pidgin.yaz
diff libpurple/protocols/qq/qq_trans.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 | 55f986ccbb6a |
children | 1c50f12b1c52 |
line wrap: on
line diff
--- a/libpurple/protocols/qq/qq_trans.c Thu Jul 17 05:26:47 2008 +0000 +++ b/libpurple/protocols/qq/qq_trans.c Thu Jul 17 15:12:42 2008 +0000 @@ -83,7 +83,7 @@ g_free(trans); } -gpointer qq_send_trans_find(qq_data *qd, guint16 seq) +gpointer qq_send_trans_find(qq_data *qd, guint16 cmd, guint16 seq) { GList *curr; GList *next; @@ -93,7 +93,7 @@ while(curr) { next = curr->next; trans = (transaction *) (curr->data); - if(trans->seq == seq) { + if(trans->cmd == cmd && trans->seq == seq) { return trans; } curr = next;