Mercurial > hg > nginx
comparison src/core/ngx_output_chain.c @ 2910:dc01b26f8de8
leave chain in consistent state on errors
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 02 Jun 2009 16:07:13 +0000 |
parents | 61d5b945730a |
children | 6060225e9261 9ecd253fcc90 |
comparison
equal
deleted
inserted
replaced
2909:3f287b615408 | 2910:dc01b26f8de8 |
---|---|
312 cl->buf = in->buf; | 312 cl->buf = in->buf; |
313 in = in->next; | 313 in = in->next; |
314 | 314 |
315 #endif | 315 #endif |
316 | 316 |
317 cl->next = NULL; | |
317 *ll = cl; | 318 *ll = cl; |
318 ll = &cl->next; | 319 ll = &cl->next; |
319 } | 320 } |
320 | |
321 *ll = NULL; | |
322 | 321 |
323 return NGX_OK; | 322 return NGX_OK; |
324 } | 323 } |
325 | 324 |
326 | 325 |