summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_output_chain.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-10-26 15:54:29 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-10-26 15:54:29 +0000
commitf7f963d7792fdf19ad11888d3a3e7460ea88dfd0 (patch)
tree33fa551ca1e0e3d61474dad1bf148de45338b7b7 /src/core/ngx_output_chain.c
parentdf30d3db5655ce895726efd7ddff81f971727dbe (diff)
downloadnginx-f7f963d7792fdf19ad11888d3a3e7460ea88dfd0.tar.gz
nginx-f7f963d7792fdf19ad11888d3a3e7460ea88dfd0.tar.bz2
merge r2903, r2911, r2912, r3002:
fix various failures handling
Diffstat (limited to 'src/core/ngx_output_chain.c')
-rw-r--r--src/core/ngx_output_chain.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/ngx_output_chain.c b/src/core/ngx_output_chain.c
index ee23e8fe1..6d6d241c1 100644
--- a/src/core/ngx_output_chain.c
+++ b/src/core/ngx_output_chain.c
@@ -314,12 +314,11 @@ ngx_output_chain_add_copy(ngx_pool_t *pool, ngx_chain_t **chain,
#endif
+ cl->next = NULL;
*ll = cl;
ll = &cl->next;
}
- *ll = NULL;
-
return NGX_OK;
}