summaryrefslogtreecommitdiff
path: root/ev_select.c
diff options
context:
space:
mode:
Diffstat (limited to 'ev_select.c')
-rw-r--r--ev_select.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ev_select.c b/ev_select.c
index 7bbf622..0333d63 100644
--- a/ev_select.c
+++ b/ev_select.c
@@ -116,7 +116,9 @@ select_poll (ev_tstamp timeout)
else if (res < 0)
{
if (errno == EBADF)
- fd_recheck ();
+ fd_ebadf ();
+ else if (errno == ENOMEM)
+ fd_enomem ();
}
}