pidgin: 4ae9ef64: Remove a few spurious debug_warns
markdoliner at pidgin.im
markdoliner at pidgin.im
Fri Nov 14 17:21:43 EST 2008
-----------------------------------------------------------------
Revision: 4ae9ef6467537045dc0ea5d62c4f3d28ae9a4bcb
Ancestor: e05d46b1a88dfa81c3cc655bf9ab3e90bb6be828
Author: markdoliner at pidgin.im
Date: 2008-11-14T22:14:19
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/4ae9ef6467537045dc0ea5d62c4f3d28ae9a4bcb
Modified files:
libpurple/protocols/oscar/flap_connection.c
ChangeLog:
Remove a few spurious debug_warns
-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/flap_connection.c 0cf154d3bb93ba5fa81a0d3c96fb55aaf0ba0697
+++ libpurple/protocols/oscar/flap_connection.c cc074ef8462f48258443ecf77a6d66c08a7dafb1
@@ -228,7 +228,13 @@ flap_connection_send_snac_with_priority(
rateclass->last.tv_usec = now.tv_usec;
}
} else {
- purple_debug_warning("oscar", "No rate class found for family %hu subtype %hu\n", family, subtype);
+ /*
+ * It's normal for SNACs 0x0001/0x0006 and 0x0001/0x0017 to be
+ * sent before we receive rate info from the server, so don't
+ * bother warning about them.
+ */
+ if (family != 0x0001 || (subtype != 0x0006 && subtype != 0x0017))
+ purple_debug_warning("oscar", "No rate class found for family 0x%04hx subtype 0x%04hx\n", family, subtype);
}
if (enqueue)
More information about the Commits
mailing list