mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-23 08:10:30 -05:00
libev vs libevent printout.
git-svn-id: file:///svn/unbound/trunk@2160 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
c1128af87e
commit
afc09709ad
2 changed files with 12 additions and 1 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
22 June 2010: Wouter
|
||||||
|
- Unbound reports libev or libevent correctly in logs in verbose mode.
|
||||||
|
|
||||||
18 June 2010: Wouter
|
18 June 2010: Wouter
|
||||||
- iana portlist updated.
|
- iana portlist updated.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -199,7 +199,15 @@ comm_base_create(int sigs)
|
||||||
comm_base_now(b);
|
comm_base_now(b);
|
||||||
/* avoid event_get_method call which causes crashes even when
|
/* avoid event_get_method call which causes crashes even when
|
||||||
* not printing, because its result is passed */
|
* not printing, because its result is passed */
|
||||||
verbose(VERB_ALGO, "libevent %s uses %s method.",
|
verbose(VERB_ALGO,
|
||||||
|
#ifdef HAVE_EV_LOOP
|
||||||
|
"libev"
|
||||||
|
#elif defined(USE_MINI_EVENT)
|
||||||
|
"event "
|
||||||
|
#else
|
||||||
|
"libevent "
|
||||||
|
#endif
|
||||||
|
"%s uses %s method.",
|
||||||
event_get_version(),
|
event_get_version(),
|
||||||
#ifdef HAVE_EVENT_BASE_GET_METHOD
|
#ifdef HAVE_EVENT_BASE_GET_METHOD
|
||||||
event_base_get_method(b->eb->base)
|
event_base_get_method(b->eb->base)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue