This commit is contained in:
Felix von Leitner 2003-11-01 04:52:35 +00:00
parent 29887c7fec
commit 39115302de
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ int64 io_waituntil2(int64 milliseconds) {
if (y[n].flags&EV_ERROR) {
/* error; signal whatever app is looking for */
if (e->wantread) y[n].filter=EVFILT_READ; else
if (e->wantwrite) y[n].filter=EVFILE_WRITE;
if (e->wantwrite) y[n].filter=EVFILT_WRITE;
}
if (!e->canread && (y[n].filter==EVFILT_READ)) {
e->canread=1;