Mercurial > hg > nginx
diff src/event/modules/ngx_poll_module.c @ 119:cd54bcbaf3b5
nginx-0.0.1-2003-07-21-01:15:59 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 20 Jul 2003 21:15:59 +0000 |
parents | 571bcbff82c5 |
children | ef8c87afcfc5 |
line wrap: on
line diff
--- a/src/event/modules/ngx_poll_module.c +++ b/src/event/modules/ngx_poll_module.c @@ -64,7 +64,7 @@ static int ngx_poll_init(ngx_cycle_t *cy nevents = 0; } - if (cycle->old_cycle == NULL + if (cycle->old_cycle == NULL || cycle->old_cycle->connection_n < cycle->connection_n) { ngx_test_null(list, @@ -272,7 +272,7 @@ static int ngx_poll_process_events(ngx_l } else { if (ready == 0) { ngx_log_error(NGX_LOG_ALERT, log, 0, - "poll() returns no events without timeout"); + "poll() returned no events without timeout"); return NGX_ERROR; }