diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-01-30 18:21:39 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-01-30 18:21:39 +0000 |
commit | 2a2d2b5094ee88dba5984eddfc4135b66bb8007e (patch) | |
tree | c8f15571d41075aa7fd0558273ef817934468c6c /src/core/nginx.c | |
parent | 86de4cbef5f075840406e24e16a2b1417f721bb3 (diff) | |
download | nginx-2a2d2b5094ee88dba5984eddfc4135b66bb8007e.tar.gz nginx-2a2d2b5094ee88dba5984eddfc4135b66bb8007e.zip |
nginx-0.0.1-2003-01-30-21:21:39 import
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r-- | src/core/nginx.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c index 5652e4167..3133f8792 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -52,11 +52,12 @@ int main(int argc, char *const *argv) ngx_pool = ngx_create_pool(16 * 1024, &ngx_log); /* */ -#if !(WIN32) +#if (WIN32) + ngx_init_sockets(&ngx_log); +#else ngx_set_signals(&ngx_log); #endif - ngx_init_sockets(&ngx_log); ngx_init_array(ngx_listening_sockets, ngx_pool, 10, sizeof(ngx_listen_t), 1); |