comparison src/event/ngx_event_pipe.c @ 1102:37c3b4e62b03

correct r1100
author Igor Sysoev <igor@sysoev.ru>
date Mon, 12 Feb 2007 14:58:45 +0000
parents 04a8b485447d
children 4c43e25d11ea e2ab812358bd
comparison
equal deleted inserted replaced
1101:2d47c7f22f7c 1102:37c3b4e62b03
500 500
501 prev = NULL; 501 prev = NULL;
502 bsize = 0; 502 bsize = 0;
503 503
504 for (cl = p->busy; cl; cl = cl->next) { 504 for (cl = p->busy; cl; cl = cl->next) {
505 if (prev == cl->buf->start) {
506 continue;
507 }
508 505
509 if (cl->buf->recycled) { 506 if (cl->buf->recycled) {
507 if (prev == cl->buf->start) {
508 continue;
509 }
510
510 bsize += cl->buf->end - cl->buf->start; 511 bsize += cl->buf->end - cl->buf->start;
511 prev = cl->buf->start; 512 prev = cl->buf->start;
512 } 513 }
513 } 514 }
514 515