comparison libpurple/protocols/oscar/flap_connection.c @ 24438:fef608a31864

Remove a few spurious debug_warns
author Mark Doliner <mark@kingant.net>
date Fri, 14 Nov 2008 22:14:19 +0000
parents 3b968076a5dc
children ea70a446dde4
comparison
equal deleted inserted replaced
24437:9b61b1088dfb 24438:fef608a31864
226 rateclass->current = new_current; 226 rateclass->current = new_current;
227 rateclass->last.tv_sec = now.tv_sec; 227 rateclass->last.tv_sec = now.tv_sec;
228 rateclass->last.tv_usec = now.tv_usec; 228 rateclass->last.tv_usec = now.tv_usec;
229 } 229 }
230 } else { 230 } else {
231 purple_debug_warning("oscar", "No rate class found for family %hu subtype %hu\n", family, subtype); 231 /*
232 * It's normal for SNACs 0x0001/0x0006 and 0x0001/0x0017 to be
233 * sent before we receive rate info from the server, so don't
234 * bother warning about them.
235 */
236 if (family != 0x0001 || (subtype != 0x0006 && subtype != 0x0017))
237 purple_debug_warning("oscar", "No rate class found for family 0x%04hx subtype 0x%04hx\n", family, subtype);
232 } 238 }
233 239
234 if (enqueue) 240 if (enqueue)
235 { 241 {
236 /* We've been sending too fast, so delay this message */ 242 /* We've been sending too fast, so delay this message */