comparison src/core/nginx.c @ 97:70d2345a903f

nginx-0.0.1-2003-05-29-17:02:09 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 29 May 2003 13:02:09 +0000
parents a23d010f356d
children c9b243802a17
comparison
equal deleted inserted replaced
96:a23d010f356d 97:70d2345a903f
88 conf.pool = ngx_pool; 88 conf.pool = ngx_pool;
89 conf.log = &ngx_log; 89 conf.log = &ngx_log;
90 conf.module_type = NGX_CORE_MODULE; 90 conf.module_type = NGX_CORE_MODULE;
91 conf.cmd_type = NGX_MAIN_CONF; 91 conf.cmd_type = NGX_MAIN_CONF;
92 92
93 conf_file.len = sizeof("nginx.conf") - 1; 93 conf_file.len = sizeof(NGINX_CONF) - 1;
94 conf_file.data = "nginx.conf"; 94 conf_file.data = NGINX_CONF;
95 95
96 if (ngx_conf_parse(&conf, &conf_file) != NGX_CONF_OK) { 96 if (ngx_conf_parse(&conf, &conf_file) != NGX_CONF_OK) {
97 return 1; 97 return 1;
98 } 98 }
99 99