diff libpurple/protocols/qq/buddy_info.c @ 15482:0d43518fd943

Port [18179] from markhuetsch: I believe there's a bug in the get_buddies_levels() code that I don't have time to find. Temporarily disable it.
author Evan Schoenberg <evan.s@dreskin.net>
date Thu, 01 Feb 2007 15:35:57 +0000
parents 42961709cb30
children 32c366eeeb99
line wrap: on
line diff
--- a/libpurple/protocols/qq/buddy_info.c	Thu Feb 01 15:34:55 2007 +0000
+++ b/libpurple/protocols/qq/buddy_info.c	Thu Feb 01 15:35:57 2007 +0000
@@ -741,6 +741,7 @@
 	qq_send_cmd(gc, QQ_CMD_GET_LEVEL, TRUE, 0, TRUE, buf, 5);
 }
 
+/*
 void qq_send_packet_get_buddies_levels(GaimConnection *gc)
 {
 	guint8 *buf, *tmp, size;
@@ -749,8 +750,10 @@
 	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;
@@ -767,8 +770,9 @@
 		}
 		qq_send_cmd(gc, QQ_CMD_GET_LEVEL, TRUE, 0, TRUE, buf, size);
 		g_free(buf);
-        }
+	}
 }
+*/
 
 void qq_process_get_level_reply(guint8 *buf, gint buf_len, GaimConnection *gc)
 {