Mercurial > hg > nginx
diff src/core/nginx.c @ 182:3c49eaf3f522
nginx-0.0.1-2003-11-13-09:14:05 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 13 Nov 2003 06:14:05 +0000 |
parents | ef8c87afcfc5 |
children | d5f50cefc322 |
line wrap: on
line diff
--- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -70,7 +70,9 @@ int main(int argc, char *const *argv) ngx_log_t *log; ngx_cycle_t *cycle; ngx_open_file_t *file; +#if !(WIN32) ngx_core_conf_t *ccf; +#endif #if (NGX_DEBUG) && (__FreeBSD__) #if __FreeBSD_version >= 500014 @@ -83,6 +85,8 @@ int main(int argc, char *const *argv) /* TODO */ ngx_max_sockets = -1; + ngx_init_time(); + log = ngx_log_init_errlog(); if (ngx_os_init(log) == NGX_ERROR) {