From 960ffa42cb161b3769cde9bbf2212092e751dfab Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 26 Dec 2002 07:24:21 +0000 Subject: nginx-0.0.1-2002-12-26-10:24:21 import --- src/core/nginx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/nginx.c') diff --git a/src/core/nginx.c b/src/core/nginx.c index 3d2d4403f..bab1fa738 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -56,12 +56,13 @@ int main(int argc, char *const *argv) /* TODO: read config */ -#if 0 +#if 1 ngx_memzero(&conf, sizeof(ngx_conf_t)); ngx_test_null(conf.args, ngx_create_array(ngx_pool, 10, sizeof(ngx_str_t)), 1); conf.pool = ngx_pool; conf.log = &ngx_log; + conf.modules = ngx_http_modules; conf_file.len = sizeof("nginx.conf") - 1; conf_file.data = "nginx.conf"; -- cgit