diff options
-rw-r--r-- | Changes | 2 | ||||
-rw-r--r-- | event.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -7,6 +7,8 @@ Revision history for libev, a high-performance and full-featured event loop. - declare functions defined in ev.h as inline if C99 or gcc are available. - enable inlining with gcc versions 2 and 3. + - event_base_loopexit should return 0 on success + (W.C.A. Wijngaards). 3.2 Wed Apr 2 17:11:19 CEST 2008 - fix a 64 bit overflow issue in the select backend, @@ -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 |