comparison src/http/modules/ngx_http_proxy_module.c @ 2949:fe484c0be7c0

fix building --without-http-cache, broken in r2930
author Igor Sysoev <igor@sysoev.ru>
date Mon, 15 Jun 2009 14:25:08 +0000
parents 37b7cd336fdf
children dff9764eaca2
comparison
equal deleted inserted replaced
2948:a955ccdf97f7 2949:fe484c0be7c0
2341 conf->headers_set_hash = prev->headers_set_hash; 2341 conf->headers_set_hash = prev->headers_set_hash;
2342 conf->headers_source = prev->headers_source; 2342 conf->headers_source = prev->headers_source;
2343 } 2343 }
2344 2344
2345 if (conf->headers_set_hash.buckets 2345 if (conf->headers_set_hash.buckets
2346 && ((conf->upstream.cache == NULL) == (prev->upstream.cache == NULL))) 2346 #if (NGX_HTTP_CACHE)
2347 && ((conf->upstream.cache == NULL) == (prev->upstream.cache == NULL))
2348 #endif
2349 )
2347 { 2350 {
2348 return NGX_OK; 2351 return NGX_OK;
2349 } 2352 }
2350 2353
2351 2354