summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2008-04-09 21:09:10 +0000
committerroot <root>2008-04-09 21:09:10 +0000
commitabf163da58241583484ef39140ef6246411a3ac8 (patch)
tree30486f42e3ad72067ebedadc0120b9c7b78c7d3e
parentb795b532ac849e121d343691a96575295966f852 (diff)
*** empty log message ***
-rw-r--r--Changes2
-rw-r--r--event.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/Changes b/Changes
index e98af8a..eb03147 100644
--- a/Changes
+++ b/Changes
@@ -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,
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