Mercurial > hg > nginx
comparison src/core/nginx.c @ 41:59e7c7f30d49
nginx-0.0.1-2002-12-26-19:26:23 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 26 Dec 2002 16:26:23 +0000 |
parents | d5d4f3bba6f0 |
children | 53cd05892261 |
comparison
equal
deleted
inserted
replaced
40:d5d4f3bba6f0 | 41:59e7c7f30d49 |
---|---|
60 ngx_memzero(&conf, sizeof(ngx_conf_t)); | 60 ngx_memzero(&conf, sizeof(ngx_conf_t)); |
61 ngx_test_null(conf.args, | 61 ngx_test_null(conf.args, |
62 ngx_create_array(ngx_pool, 10, sizeof(ngx_str_t)), 1); | 62 ngx_create_array(ngx_pool, 10, sizeof(ngx_str_t)), 1); |
63 conf.pool = ngx_pool; | 63 conf.pool = ngx_pool; |
64 conf.log = &ngx_log; | 64 conf.log = &ngx_log; |
65 conf.modules = ngx_http_modules; | |
66 | 65 |
67 conf_file.len = sizeof("nginx.conf") - 1; | 66 conf_file.len = sizeof("nginx.conf") - 1; |
68 conf_file.data = "nginx.conf"; | 67 conf_file.data = "nginx.conf"; |
69 | 68 |
70 ngx_conf_parse(&conf, &conf_file); | 69 ngx_conf_parse(&conf, &conf_file); |