comparison 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
comparison
equal deleted inserted replaced
858:4766f61a8221 859:d1e8c59a50ee
322 n = 0; 322 n = 0;
323 } 323 }
324 } 324 }
325 325
326 if (cl) { 326 if (cl) {
327 while (cl->next) { 327 for (ln = cl; ln->next; ln = ln->next) { /* void */ }
328 cl = cl->next; 328
329 } 329 ln->next = p->free_raw_bufs;
330
331 cl->next = p->free_raw_bufs;
332 p->free_raw_bufs = cl; 330 p->free_raw_bufs = cl;
333 } 331 }
334 } 332 }
335 333
336 #if (NGX_DEBUG) 334 #if (NGX_DEBUG)