aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-10-21 16:52:10 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-10-21 16:52:10 +0000
commitcd8b43cde730a2fe038c8eb8ced09eb075a73969 (patch)
treef9b79aad0d8277e985ec1f1defe82d1d628a9432 /src/http/ngx_http_core_module.h
parentf2694cb9250a7fd13f8f681756f103529a1f5772 (diff)
downloadnginx-cd8b43cde730a2fe038c8eb8ced09eb075a73969.tar.gz
nginx-cd8b43cde730a2fe038c8eb8ced09eb075a73969.zip
rename core_srv_conf fields to more understandable default_server and server
Diffstat (limited to 'src/http/ngx_http_core_module.h')
-rw-r--r--src/http/ngx_http_core_module.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h
index 303bc9cef..b83dbdd05 100644
--- a/src/http/ngx_http_core_module.h
+++ b/src/http/ngx_http_core_module.h
@@ -177,7 +177,7 @@ typedef struct {
typedef struct {
/* the default server configuration for this address:port */
- ngx_http_core_srv_conf_t *core_srv_conf;
+ ngx_http_core_srv_conf_t *default_server;
ngx_http_virtual_names_t *virtual_names;
@@ -230,7 +230,7 @@ typedef struct {
#endif
/* the default server configuration for this address:port */
- ngx_http_core_srv_conf_t *core_srv_conf;
+ ngx_http_core_srv_conf_t *default_server;
ngx_array_t servers; /* array of ngx_http_core_srv_conf_t */
} ngx_http_conf_addr_t;
@@ -239,7 +239,7 @@ struct ngx_http_server_name_s {
#if (NGX_PCRE)
ngx_regex_t *regex;
#endif
- ngx_http_core_srv_conf_t *core_srv_conf; /* virtual name server conf */
+ ngx_http_core_srv_conf_t *server; /* virtual name server conf */
ngx_str_t name;
};