Mercurial > hg > nginx
comparison src/event/modules/ngx_select_module.c @ 278:0ba4821f4460
nginx-0.0.2-2004-03-04-10:04:55 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 04 Mar 2004 07:04:55 +0000 |
parents | 1903c6821958 |
children | 87e73f067470 |
comparison
equal
deleted
inserted
replaced
277:e91499541410 | 278:0ba4821f4460 |
---|---|
359 #endif /* HAVE_SELECT_CHANGE_TIMEOUT */ | 359 #endif /* HAVE_SELECT_CHANGE_TIMEOUT */ |
360 | 360 |
361 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, log, 0, "select ready %d", ready); | 361 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, log, 0, "select ready %d", ready); |
362 | 362 |
363 if (err) { | 363 if (err) { |
364 #if (WIN32) | |
365 ngx_log_error(NGX_LOG_ALERT, log, err, "select() failed"); | |
366 #else | |
364 ngx_log_error((err == NGX_EINTR) ? NGX_LOG_INFO : NGX_LOG_ALERT, | 367 ngx_log_error((err == NGX_EINTR) ? NGX_LOG_INFO : NGX_LOG_ALERT, |
365 log, err, "select() failed"); | 368 log, err, "select() failed"); |
369 #endif | |
366 return NGX_ERROR; | 370 return NGX_ERROR; |
367 } | 371 } |
368 | 372 |
369 nready = 0; | 373 nready = 0; |
370 | 374 |