# HG changeset patch # User Mark Doliner # Date 1226700859 0 # Node ID fef608a31864a3c57a86b1035ee7b7415afa28d6 # Parent 9b61b1088dfba6e8cd939a626cec69fde5e588c6 Remove a few spurious debug_warns diff -r 9b61b1088dfb -r fef608a31864 libpurple/protocols/oscar/flap_connection.c --- a/libpurple/protocols/oscar/flap_connection.c Fri Nov 14 21:46:39 2008 +0000 +++ b/libpurple/protocols/oscar/flap_connection.c Fri Nov 14 22:14:19 2008 +0000 @@ -228,7 +228,13 @@ 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)