fix building by Debian gcc-4.1.2 amd64

This commit is contained in:
Igor Sysoev 2006-10-16 13:29:52 +00:00
parent 066496a56c
commit cab3b30e2c

View File

@ -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;
}