Mercurial > pidgin.yaz
diff src/protocols/qq/send_core.c @ 13871:2be9dfa9569b
[gaim-migrate @ 16341]
Fixed a bug that prevented libqq from being loaded as a plugin.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Huetsch <markhuetsch> |
---|---|
date | Mon, 26 Jun 2006 03:44:39 +0000 |
parents | 983fd420e86b |
children | ef8490f9e823 |
line wrap: on
line diff
--- a/src/protocols/qq/send_core.c Mon Jun 26 02:58:54 2006 +0000 +++ b/src/protocols/qq/send_core.c Mon Jun 26 03:44:39 2006 +0000 @@ -37,7 +37,7 @@ // create qq packet header with given sequence // return the number of bytes in header if succeeds // return -1 if there is any error -static gint _create_packet_head_seq(guint8 * buf, guint8 ** cursor, +gint _create_packet_head_seq(guint8 * buf, guint8 ** cursor, GaimConnection * gc, guint16 cmd, gboolean is_auto_seq, guint16 * seq) { qq_data *qd; @@ -77,7 +77,7 @@ // for those need ack and resend no ack feed back from server // return number of bytes written to the socket, // return -1 if there is any error -static gint _qq_send_packet(GaimConnection * gc, guint8 * buf, gint len, guint16 cmd) +gint _qq_send_packet(GaimConnection * gc, guint8 * buf, gint len, guint16 cmd) { qq_data *qd; qq_sendpacket *p;