Mercurial > hg > nginx
diff src/core/nginx.c @ 58:6b13b1cadabe
nginx-0.0.1-2003-01-30-21:21:39 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 30 Jan 2003 18:21:39 +0000 |
parents | f1ee46c036a4 |
children | e8cdc2989cee |
line wrap: on
line diff
--- 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);