mirror of
https://github.com/nginx/nginx.git
synced 2024-12-05 22:39:00 +08:00
fix building by Debian gcc-4.1.2 amd64
This commit is contained in:
parent
066496a56c
commit
cab3b30e2c
@ -1843,7 +1843,7 @@ ngx_http_ssi_include(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
|
||||
ngx_str_t *uri, *file, *wait, *set, *stub, args;
|
||||
ngx_buf_t *b;
|
||||
ngx_uint_t flags, i;
|
||||
ngx_chain_t *cl, *tl, **ll;
|
||||
ngx_chain_t *cl, *tl, **ll, *out;
|
||||
ngx_http_request_t *sr;
|
||||
ngx_http_ssi_var_t *var;
|
||||
ngx_http_ssi_ctx_t *mctx;
|
||||
@ -1947,7 +1947,7 @@ ngx_http_ssi_include(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
|
||||
|
||||
if (bl[i].count++) {
|
||||
|
||||
ll = (ngx_chain_t **) &psr->data;
|
||||
ll = &out;
|
||||
|
||||
for (tl = bl[i].bufs; tl; tl = tl->next) {
|
||||
|
||||
@ -1979,6 +1979,8 @@ ngx_http_ssi_include(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
|
||||
ll = &cl->next;
|
||||
}
|
||||
|
||||
psr->data = out;
|
||||
|
||||
} else {
|
||||
psr->data = bl[i].bufs;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user