]> git.llucax.com Git - software/libev.git/blobdiff - event.c
better ev_loop docs
[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;
 
-  ev_unloop (EV_A_ EVUNLOOP_ONCE);
+  ev_unloop (EV_A_ EVUNLOOP_ONE);
 }
 
 int event_base_loopexit (struct event_base *base, struct timeval *tv)