mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix display of event loop method with libev.
This commit is contained in:
parent
6e0756e819
commit
5203954068
2 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
|||
17 June 2020: Wouter
|
||||
- Fix default explanation in man page for qname-minimisation-strict.
|
||||
- Fix display of event loop method with libev.
|
||||
|
||||
8 June 2020: Wouter
|
||||
- Mention tls name possible when tls is enabled for stub-addr in the
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ const char* ub_event_get_version(void)
|
|||
return event_get_version();
|
||||
}
|
||||
|
||||
#if (defined(HAVE_EV_LOOP) || defined(HAVE_EV_DEFAULT_LOOP)) && defined(EVBACKEND_SELECT)
|
||||
#if (defined(HAVE_EV_LOOP) || defined(HAVE_EV_DEFAULT_LOOP)) && defined(EV_FEATURE_BACKENDS)
|
||||
static const char* ub_ev_backend2str(int b)
|
||||
{
|
||||
switch(b) {
|
||||
|
|
@ -184,7 +184,7 @@ ub_get_event_sys(struct ub_event_base* base, const char** n, const char** s,
|
|||
*n = "libev";
|
||||
if (!b)
|
||||
b = (struct event_base*)ev_default_loop(EVFLAG_AUTO);
|
||||
# ifdef EVBACKEND_SELECT
|
||||
# ifdef EV_FEATURE_BACKENDS
|
||||
*m = ub_ev_backend2str(ev_backend((struct ev_loop*)b));
|
||||
# else
|
||||
*m = "not obtainable";
|
||||
|
|
|
|||
Loading…
Reference in a new issue