comparison libpurple/protocols/qq/keep_alive.c @ 23051:55f986ccbb6a

patch-05-reconnect-and-code-cleanup
author SHiNE CsyFeK <csyfek@gmail.com>
date Tue, 24 Jun 2008 12:28:38 +0000
parents 51dbe83ebbd3
children
comparison
equal deleted inserted replaced
23050:51dbe83ebbd3 23051:55f986ccbb6a
57 /* In fact, we can send whatever we like to server 57 /* In fact, we can send whatever we like to server
58 * with this command, server return the same result including 58 * with this command, server return the same result including
59 * the amount of online QQ users, my ip and port */ 59 * the amount of online QQ users, my ip and port */
60 bytes += qq_put32(raw_data + bytes, qd->uid); 60 bytes += qq_put32(raw_data + bytes, qd->uid);
61 61
62 qq_send_cmd(gc, QQ_CMD_KEEP_ALIVE, TRUE, 0, TRUE, raw_data, 4); 62 qq_send_cmd(qd, QQ_CMD_KEEP_ALIVE, raw_data, 4);
63 } 63 }
64 64
65 /* parse the return of keep-alive packet, it includes some system information */ 65 /* parse the return of keep-alive packet, it includes some system information */
66 void qq_process_keep_alive_reply(guint8 *buf, gint buf_len, PurpleConnection *gc) 66 void qq_process_keep_alive_reply(guint8 *buf, gint buf_len, PurpleConnection *gc)
67 { 67 {