diff --git a/ChangeLog b/ChangeLog index 27a6a571..2ffe32d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -43,7 +43,7 @@ Changes in 2.0.2-alpha: o Mitigate a race condition when using socket bufferevents in multiple threads. o Use AC_SEARCH_LIBS, not AC_CHECK_LIB to avoid needless library use. o Do not allow event_del(ev) to return while that event's callback is executing in another thread. This fixes a nasty race condition. - + o event_get_supported_methods() now lists methods that have been disabled with the EVENT_NO* environment options. Changes in 2.0.1-alpha: o free minheap on event_base_free(); from Christopher Layne diff --git a/event.c b/event.c index f8bc5801..ce325aff 100644 --- a/event.c +++ b/event.c @@ -457,8 +457,6 @@ event_get_supported_methods(void) /* populate the array with the supported methods */ for (k = 0, i = 0; eventops[k] != NULL; ++k) { - if (event_is_method_disabled(eventops[k]->name)) - continue; tmp[i++] = eventops[k]->name; } tmp[i] = NULL;