diff --git a/ChangeLog b/ChangeLog index af3dc8c0..708d0629 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,7 @@ Changes in 1.4.2: o Use a 64-bit field to hold HTTP content-lengths. Patch from Scott Lamb. o Allow regression code to build even without Python installed o remove NDEBUG ifdefs from evdns.c + o udpate documentation of event_loop and event_base_loop; from Tani Hosokawa. Changes in 1.4.1-beta: o free minheap on event_base_free(); from Christopher Layne diff --git a/event.h b/event.h index 4d42bebf..451ca895 100644 --- a/event.h +++ b/event.h @@ -368,7 +368,8 @@ int event_base_set(struct event_base *, struct event *); This is a more flexible version of event_dispatch(). @param flags any combination of EVLOOP_ONCE | EVLOOP_NONBLOCK - @return 0 if successful, or -1 if an error occurred + @return 0 if successful, -1 if an error occurred, or 1 if no events were + registered. @see event_loopexit(), event_base_loop() */ int event_loop(int); @@ -380,7 +381,8 @@ int event_loop(int); @param eb the event_base structure returned by event_init() @param flags any combination of EVLOOP_ONCE | EVLOOP_NONBLOCK - @return 0 if successful, or -1 if an error occurred + @return 0 if successful, -1 if an error occurred, or 1 if no events were + registered. @see event_loopexit(), event_base_loop() */ int event_base_loop(struct event_base *, int);