mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
make it more pleasant to be told you're using libevent
svn:r4548
This commit is contained in:
parent
306f7d320c
commit
19810ba38e
@ -2646,12 +2646,12 @@ init_libevent(void)
|
||||
#if defined(HAVE_EVENT_GET_VERSION) && defined(HAVE_EVENT_GET_METHOD)
|
||||
/* Making this a NOTICE for now so we can link bugs to a libevent versions
|
||||
* or methods better. */
|
||||
log(LOG_NOTICE, "Initialized libevent version %s using method %s",
|
||||
log(LOG_NOTICE, "Initialized libevent version %s using method %s. Good.",
|
||||
event_get_version(), event_get_method());
|
||||
check_libevent_version(event_get_method(), event_get_version(),
|
||||
get_options()->ORPort != 0);
|
||||
#else
|
||||
log(LOG_NOTICE, "Initialized old libevent (version 1.0b or earlier)");
|
||||
log(LOG_NOTICE, "Initialized old libevent (version 1.0b or earlier).");
|
||||
log(LOG_WARN, "You have a very old version of libevent. It is likely to be buggy; please consider building Tor with a more recent version.");
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user