comparison src/protocols/oscar/txqueue.c @ 11162:ccb38cf22483

[gaim-migrate @ 13263] Get rid of the last of the errors in oscar. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 29 Jul 2005 01:14:23 +0000
parents 9cafe038c95e
children 7d31d61e6438
comparison
equal deleted inserted replaced
11161:2e71eddc828b 11162:ccb38cf22483
345 aim_frame_t *cur; 345 aim_frame_t *cur;
346 346
347 for (cur = sess->queue_outgoing; cur; cur = cur->next) { 347 for (cur = sess->queue_outgoing; cur; cur = cur->next) {
348 348
349 if (cur->handled) 349 if (cur->handled)
350 continue; /* already been sent */ 350 continue; /* already been sent */
351 351
352 if (cur->conn && (cur->conn->status & AIM_CONN_STATUS_INPROGRESS)) 352 if (cur->conn && (cur->conn->status & AIM_CONN_STATUS_INPROGRESS))
353 continue; 353 continue;
354 354
355 /* 355 /*
356 * And now for the meager attempt to force transmit 356 * And now for the meager attempt to force transmit
357 * latency and avoid missed messages. 357 * latency and avoid missed messages.
358 */ 358 */
359 if ((cur->conn->lastactivity + cur->conn->forcedlatency) >= time(NULL)) { 359 if ((cur->conn->lastactivity + cur->conn->forcedlatency) >= time(NULL)) {
360 /* 360 /*
361 * XXX should be a break! we don't want to block the 361 * XXX should be a break! we don't want to block the
362 * upper layers 362 * upper layers
363 * 363 *
364 * XXX or better, just do this right. 364 * XXX or better, just do this right.
365 * 365 *
366 */ 366 */