comparison libpurple/protocols/oscar/flap_connection.c @ 29328:0616027add19

This extra check doesn't really work now that we have a concept of a default rate class
author Mark Doliner <mark@kingant.net>
date Wed, 03 Feb 2010 00:07:45 +0000
parents 2e3e0801de29
children 4d50162d809e
comparison
equal deleted inserted replaced
29327:2e3e0801de29 29328:0616027add19
256 { 256 {
257 rateclass->current = new_current; 257 rateclass->current = new_current;
258 rateclass->last.tv_sec = now.tv_sec; 258 rateclass->last.tv_sec = now.tv_sec;
259 rateclass->last.tv_usec = now.tv_usec; 259 rateclass->last.tv_usec = now.tv_usec;
260 } 260 }
261 } else {
262 /*
263 * It's normal for SNACs 0x0001/0x0006 and 0x0001/0x0017 to be
264 * sent before we receive rate info from the server, so don't
265 * bother warning about them.
266 */
267 if (family != 0x0001 || (subtype != 0x0006 && subtype != 0x0017))
268 purple_debug_warning("oscar", "No rate class found for family 0x%04hx subtype 0x%04hx\n", family, subtype);
269 } 261 }
270 262
271 if (enqueue) 263 if (enqueue)
272 { 264 {
273 /* We've been sending too fast, so delay this message */ 265 /* We've been sending too fast, so delay this message */