comparison src/event/modules/ngx_devpoll_module.c @ 1141:2b16d3959c2b

fix building without --with-debug on Solaris
author Igor Sysoev <igor@sysoev.ru>
date Wed, 21 Mar 2007 11:16:14 +0000
parents 06479b01caff
children f69d1aab6a0f 43ea45d73093
comparison
equal deleted inserted replaced
1140:03c561664974 1141:2b16d3959c2b
414 ngx_log_debug3(NGX_LOG_DEBUG_EVENT, cycle->log, 0, 414 ngx_log_debug3(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
415 "devpoll: fd:%d, ev:%04Xd, rev:%04Xd", 415 "devpoll: fd:%d, ev:%04Xd, rev:%04Xd",
416 event_list[i].fd, event_list[i].events, revents); 416 event_list[i].fd, event_list[i].events, revents);
417 417
418 if (revents & (POLLERR|POLLHUP|POLLNVAL)) { 418 if (revents & (POLLERR|POLLHUP|POLLNVAL)) {
419 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, cycle->log, 0, 419 ngx_log_debug3(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
420 "ioctl(DP_POLL) error fd:%d ev:%04Xd rev:%04Xd", 420 "ioctl(DP_POLL) error fd:%d ev:%04Xd rev:%04Xd",
421 event_list[i].fd, event_list[i].events, revents); 421 event_list[i].fd, event_list[i].events, revents);
422 } 422 }
423 423
424 if (revents & ~(POLLIN|POLLOUT|POLLERR|POLLHUP|POLLNVAL)) { 424 if (revents & ~(POLLIN|POLLOUT|POLLERR|POLLHUP|POLLNVAL)) {