Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-02-24 10:56:47 +0300
committerIgor Sysoev <igor@sysoev.ru>2009-02-24 10:56:47 +0300
commitfed1ca0dc7e4f5371bc15085b84fa0b3d8f8d899 (patch)
tree69ac257afe9a3cf9c74b1e29c9c30b3c3b36df71 /src/http/ngx_http.c
parent1966aedd6d4f7a61dd4b7b4ddbeadf56291b1621 (diff)
move r->virtual_names to ngx_http_core_srv_conf_t
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r--src/http/ngx_http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index c41f5bff0..626686ca8 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -1812,7 +1812,7 @@ ngx_http_add_addrs(ngx_conf_t *cf, ngx_http_port_t *hport,
return NGX_ERROR;
}
- addrs[i].conf.virtual_names = vn;
+ addrs[i].conf.core_srv_conf->virtual_names = vn;
vn->names.hash = addr[i].hash;
vn->names.wc_head = addr[i].wc_head;
@@ -1869,7 +1869,7 @@ ngx_http_add_addrs6(ngx_conf_t *cf, ngx_http_port_t *hport,
return NGX_ERROR;
}
- addrs6[i].conf.virtual_names = vn;
+ addrs6[i].conf.core_srv_conf->virtual_names = vn;
vn->names.hash = addr[i].hash;
vn->names.wc_head = addr[i].wc_head;