Mercurial > pidgin.yaz
diff libpurple/protocols/qq/buddy_info.c @ 16208:85d5942e80e9
Port SVN revisions 18230 to 18232 from Mark Huetsch from sf SVN to
Pidgin Monotone. Original commit messages:
Bug 1671638 fixed bhpan.
Bug 1658961 fixed by gnap.
Fixed a bug where gaim was playing n x n times user leaving chat room sound when opening a QQ
protocol chat room, n equaling the number of users in the chat room. Patch by gnap.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 16 Apr 2007 06:37:20 +0000 |
parents | d3e197b67ef9 |
children | c9b4ff420140 08db93bbd798 |
line wrap: on
line diff
--- a/libpurple/protocols/qq/buddy_info.c Mon Apr 16 05:37:44 2007 +0000 +++ b/libpurple/protocols/qq/buddy_info.c Mon Apr 16 06:37:20 2007 +0000 @@ -741,19 +741,17 @@ qq_send_cmd(gc, QQ_CMD_GET_LEVEL, TRUE, 0, TRUE, buf, 5); } -/* void qq_send_packet_get_buddies_levels(PurpleConnection *gc) { - guint8 *buf, *tmp, size; + guint8 *buf, *tmp; + guint16 size; qq_buddy *q_bud; qq_data *qd = (qq_data *) gc->proto_data; GList *node = qd->buddies; if (qd->buddies) { -*/ /* server only sends back levels for online buddies, no point * in asking for anyone else */ -/* size = 4*g_list_length(qd->buddies) + 1; buf = g_new0(guint8, size); tmp = buf + 1; @@ -772,7 +770,6 @@ g_free(buf); } } -*/ void qq_process_get_level_reply(guint8 *buf, gint buf_len, PurpleConnection *gc) {