]> git.llucax.com Git - software/libev.git/blobdiff - event.c
add manpage to distro and install it
[software/libev.git] / event.c
diff --git a/event.c b/event.c
index b24d702c0761f26cb1e52993ad3c7b64a234f73a..7bcb804da65e436a12349ea7007d78f68737d682 100644 (file)
--- a/event.c
+++ b/event.c
@@ -347,7 +347,7 @@ x_loopexit_cb (int revents, void *base)
 {
   dLOOPbase;
 
 {
   dLOOPbase;
 
-  ev_unloop (EV_A_ EVUNLOOP_ONCE);
+  ev_unloop (EV_A_ EVUNLOOP_ONE);
 }
 
 int event_base_loopexit (struct event_base *base, struct timeval *tv)
 }
 
 int event_base_loopexit (struct event_base *base, struct timeval *tv)