Mercurial > hg > nginx
changeset 2824:d106509491b5
fix building --without-http-cache
the bug had been appeared in r2806
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 08 May 2009 20:14:35 +0000 |
parents | 78342383cb6e |
children | bb05c0834c8c |
files | src/http/ngx_http_upstream.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c Fri May 08 18:12:03 2009 +0000 +++ b/src/http/ngx_http_upstream.c Fri May 08 20:14:35 2009 +0000 @@ -1483,7 +1483,6 @@ static ngx_int_t ngx_http_upstream_test_next(ngx_http_request_t *r, ngx_http_upstream_t *u) { - ngx_int_t rc; ngx_uint_t status; ngx_http_upstream_next_t *un; @@ -1503,6 +1502,7 @@ #if (NGX_HTTP_CACHE) if (u->stale_cache && (u->conf->cache_use_stale & un->mask)) { + ngx_int_t rc; rc = u->reinit_request(r);