comparison src/http/ngx_http_upstream.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 0998606fbfd4
comparison
equal deleted inserted replaced
2948:a955ccdf97f7 2949:fe484c0be7c0
4084 && conf->pass_headers == NGX_CONF_UNSET_PTR) 4084 && conf->pass_headers == NGX_CONF_UNSET_PTR)
4085 { 4085 {
4086 conf->hide_headers_hash = prev->hide_headers_hash; 4086 conf->hide_headers_hash = prev->hide_headers_hash;
4087 4087
4088 if (conf->hide_headers_hash.buckets 4088 if (conf->hide_headers_hash.buckets
4089 && ((conf->cache == NULL) == (prev->cache == NULL))) 4089 #if (NGX_HTTP_CACHE)
4090 && ((conf->cache == NULL) == (prev->cache == NULL))
4091 #endif
4092 )
4090 { 4093 {
4091 return NGX_OK; 4094 return NGX_OK;
4092 } 4095 }
4093 4096
4094 conf->hide_headers = prev->hide_headers; 4097 conf->hide_headers = prev->hide_headers;