Mercurial > pidgin
changeset 24438:fef608a31864
Remove a few spurious debug_warns
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 14 Nov 2008 22:14:19 +0000 |
parents | 9b61b1088dfb |
children | 809de3ab85d1 |
files | libpurple/protocols/oscar/flap_connection.c |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)