From: Nick Mathewson Date: Mon, 14 Nov 2011 22:32:22 +0000 (-0500) Subject: Warn when unable to construct base because of failing make_base_notifiable X-Git-Tag: release-2.0.16-stable~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e797f388f736756b1531ce47ef210bd2119515f;p=libevent Warn when unable to construct base because of failing make_base_notifiable --- diff --git a/event.c b/event.c index 809a01ae..046b109b 100644 --- a/event.c +++ b/event.c @@ -633,6 +633,7 @@ event_base_new_with_config(const struct event_config *cfg) EVTHREAD_ALLOC_COND(base->current_event_cond); r = evthread_make_base_notifiable(base); if (r<0) { + event_warnx("%s: Unable to make base notifiable.", __func__); event_base_free(base); return NULL; }