rename core_srv_conf fields to more understandable default_server and server
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 88d58e6..88d32e1 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -2877,7 +2877,7 @@
#if (NGX_PCRE)
sn->regex = NULL;
#endif
- sn->core_srv_conf = conf;
+ sn->server = conf;
sn->name.len = conf->server_name.len;
sn->name.data = conf->server_name.data;
}
@@ -3529,7 +3529,7 @@
#if (NGX_PCRE)
sn->regex = NULL;
#endif
- sn->core_srv_conf = cscf;
+ sn->server = cscf;
sn->name = value[i];
ngx_strlow(sn->name.data, sn->name.data, sn->name.len);