pidgin: 692be987: Don't use g_queue_get_length because it ...
markdoliner at pidgin.im
markdoliner at pidgin.im
Tue Sep 16 13:35:24 EDT 2008
-----------------------------------------------------------------
Revision: 692be9875ed43f8eff7c18d99cc0efc2f8eb3492
Ancestor: dc674f16b04aac91ee251496098bac41e0fb56a0
Author: markdoliner at pidgin.im
Date: 2008-09-16T17:30:23
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/692be9875ed43f8eff7c18d99cc0efc2f8eb3492
Modified files:
libpurple/protocols/oscar/flap_connection.c
ChangeLog:
Don't use g_queue_get_length because it requires glib 2.4
-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/flap_connection.c 8f55336e8733e9f81263b863de8e1e1497070413
+++ libpurple/protocols/oscar/flap_connection.c 0cf154d3bb93ba5fa81a0d3c96fb55aaf0ba0697
@@ -158,8 +158,8 @@ static gboolean flap_connection_send_que
gettimeofday(&now, NULL);
purple_debug_info("oscar", "Attempting to send %u queued SNACs and %u queued low-priority SNACs for %p\n",
- (conn->queued_snacs ? g_queue_get_length(conn->queued_snacs) : 0),
- (conn->queued_lowpriority_snacs ? g_queue_get_length(conn->queued_lowpriority_snacs) : 0),
+ (conn->queued_snacs ? conn->queued_snacs->length : 0),
+ (conn->queued_lowpriority_snacs ? conn->queued_lowpriority_snacs->length : 0),
conn);
if (!conn->queued_snacs || flap_connection_send_snac_queue(conn, now, conn->queued_snacs)) {
if (!conn->queued_lowpriority_snacs || flap_connection_send_snac_queue(conn, now, conn->queued_lowpriority_snacs)) {
More information about the Commits
mailing list