commit | 2a2d2b5094ee88dba5984eddfc4135b66bb8007e | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Thu Jan 30 18:21:39 2003 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Thu Jan 30 18:21:39 2003 +0000 |
tree | c8f15571d41075aa7fd0558273ef817934468c6c | |
parent | 86de4cbef5f075840406e24e16a2b1417f721bb3 [diff] [blame] |
nginx-0.0.1-2003-01-30-21:21:39 import
diff --git a/src/core/nginx.c b/src/core/nginx.c index 5652e41..3133f87 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c
@@ -52,11 +52,12 @@ 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);