| Revision 1.3 | Revision 1.4 |
|---|---|
| Line 6119 | Line 6119 |
if (ev_extra != NULL) |
if (ev_extra != NULL) |
/* wait until accept has a chance */ |
/* |
|
|
* wait until accept has a chance; must put socket back in original
* state before waiting so that other calls to pth_accept() won't
* unexpectedly be non-blocking
*/
pth_fdmode(s, fdmode);
|
pth_wait(ev); |
pth_wait(ev); |
if (pth_fdmode(s, PTH_FDMODE_NONBLOCK) == PTH_FDMODE_ERROR)
return pth_error(-1, EBADF);
| |
/* check for the extra events */ |
/* check for the extra events */ |
| Line 7693 | Line 7700 |
} |
} |
| Legend | |
|---|---|
| Lines deleted from 1.4 | |
| Lines Modified | |
| Lines added in revision 1.3 | |