Mercurial > hg > nginx
diff src/event/ngx_event_pipe.c @ 859:d1e8c59a50ee
fix the previous commit
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 19 Nov 2006 07:27:10 +0000 |
parents | 4766f61a8221 |
children | 5a86fcc480c6 |
line wrap: on
line diff
--- a/src/event/ngx_event_pipe.c Sat Nov 18 21:46:16 2006 +0000 +++ b/src/event/ngx_event_pipe.c Sun Nov 19 07:27:10 2006 +0000 @@ -324,11 +324,9 @@ } if (cl) { - while (cl->next) { - cl = cl->next; - } + for (ln = cl; ln->next; ln = ln->next) { /* void */ } - cl->next = p->free_raw_bufs; + ln->next = p->free_raw_bufs; p->free_raw_bufs = cl; } }