diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-11-13 06:14:05 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-11-13 06:14:05 +0000 |
commit | 562e53ea7d2ec904abba1cf9a9766fe3a91574e8 (patch) | |
tree | 0ed6e4198fa7ac67ab299201dc40631c5fe145f4 /src/core/nginx.c | |
parent | 43beb6c40a44f94208e9ad1355758e58733bc1c2 (diff) | |
download | nginx-562e53ea7d2ec904abba1cf9a9766fe3a91574e8.tar.gz nginx-562e53ea7d2ec904abba1cf9a9766fe3a91574e8.zip |
nginx-0.0.1-2003-11-13-09:14:05 import
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r-- | src/core/nginx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c index 98404a023..2038e7def 100644 --- 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) { |