comparison src/event/modules/ngx_poll_module.c @ 60:50186b49f2ad

nginx-0.0.1-2003-02-11-10:14:40 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 11 Feb 2003 07:14:40 +0000
parents e8cdc2989cee
children e43f406e4525
comparison
equal deleted inserted replaced
59:e8cdc2989cee 60:50186b49f2ad
212 } 212 }
213 213
214 if (event_list[i].revents & (POLLERR|POLLHUP|POLLNVAL)) { 214 if (event_list[i].revents & (POLLERR|POLLHUP|POLLNVAL)) {
215 found = 1; 215 found = 1;
216 216
217 /* need ot add to ready_index[nready++] = c->read or c->write; */
218
217 err = 0; 219 err = 0;
218 if (event_list[i].revents & POLLNVAL) { 220 if (event_list[i].revents & POLLNVAL) {
219 err = EBADF; 221 err = EBADF;
220 } 222 }
221 223