summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'event.c')
-rw-r--r--event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/event.c b/event.c
index 714f345..36fe7d3 100644
--- a/event.c
+++ b/event.c
@@ -359,7 +359,7 @@ int event_base_loopexit (struct event_base *base, struct timeval *tv)
ev_once (EV_A_ -1, 0, after >= 0. ? after : 0., x_loopexit_cb, (void *)base);
- return -1;
+ return 0;
}
struct x_once