Mercurial > hg > nginx
comparison src/event/modules/ngx_poll_module.c @ 327:e0f3f238db09
nginx-0.0.3-2004-04-26-17:40:01 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 26 Apr 2004 13:40:01 +0000 |
parents | ba876b26b76d |
children | 2e3cbc1bbe3c |
comparison
equal
deleted
inserted
replaced
326:8733703a37f3 | 327:e0f3f238db09 |
---|---|
402 i, event_list[i].fd, | 402 i, event_list[i].fd, |
403 event_list[i].events, event_list[i].revents); | 403 event_list[i].events, event_list[i].revents); |
404 } | 404 } |
405 #endif | 405 #endif |
406 | 406 |
407 if (event_list[i].revents & (POLLERR|POLLNVAL)) { | 407 if (event_list[i].revents & POLLNVAL) { |
408 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, | 408 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, |
409 "poll() error fd:%d ev:%04X rev:%04X", | 409 "poll() error fd:%d ev:%04X rev:%04X", |
410 event_list[i].fd, | 410 event_list[i].fd, |
411 event_list[i].events, event_list[i].revents); | 411 event_list[i].events, event_list[i].revents); |
412 } | 412 } |