summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 52ee05c..317dd8e 100644
--- a/ev.c
+++ b/ev.c
@@ -2047,7 +2047,7 @@ ev_feed_signal_event (EV_P_ int signum) EV_THROW
{
WL w;
- if (expect_false (signum <= 0 || signum > EV_NSIG))
+ if (expect_false (signum <= 0 || signum >= EV_NSIG))
return;
--signum;