Mercurial > hg > nginx
diff src/event/ngx_event_accept.c @ 98:c9b243802a17
nginx-0.0.1-2003-05-30-18:27:59 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 30 May 2003 14:27:59 +0000 |
parents | 70d2345a903f |
children | a059e1aa65d4 |
line wrap: on
line diff
--- a/src/event/ngx_event_accept.c Thu May 29 13:02:09 2003 +0000 +++ b/src/event/ngx_event_accept.c Fri May 30 14:27:59 2003 +0000 @@ -63,7 +63,8 @@ return; } - if (s >= ecf->connections) { + /* disable warnings: Win32 SOCKET is u_int while UNIX socket is int */ + if ((unsigned) s >= (unsigned) ecf->connections) { ngx_log_error(NGX_LOG_ALERT, ev->log, 0, "accept() %s returned socket #%d while "