summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-03-12 16:59:05 -0400
committerNick Mathewson <nickm@torproject.org>2015-03-12 16:59:05 -0400
commit517e0f965bfafdcd798ccac7419e5c7da921dcd7 (patch)
tree50bf22e983673c0ef1e56446a142762890a57c2c /src/or/config.c
parent3ee2fca7ca6138916688d7d415a1091b8b3e1724 (diff)
downloadtor-517e0f965bfafdcd798ccac7419e5c7da921dcd7.tar.gz
tor-517e0f965bfafdcd798ccac7419e5c7da921dcd7.zip
Remove workarounds for Libevent < 1.3.
This actually lets us dump a lot of old cruft that nobody had (I hope!) tested in ages. Closes 15248.
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/or/config.c b/src/or/config.c
index fca350c203..085c64008e 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -6695,7 +6695,6 @@ get_num_cpus(const or_options_t *options)
static void
init_libevent(const or_options_t *options)
{
- const char *badness=NULL;
tor_libevent_cfg cfg;
tor_assert(options);
@@ -6716,17 +6715,6 @@ init_libevent(const or_options_t *options)
tor_libevent_initialize(&cfg);
suppress_libevent_log_msg(NULL);
-
- tor_check_libevent_version(tor_libevent_get_method(),
- server_mode(get_options()),
- &badness);
- if (badness) {
- const char *v = tor_libevent_get_version_str();
- const char *m = tor_libevent_get_method();
- control_event_general_status(LOG_WARN,
- "BAD_LIBEVENT VERSION=%s METHOD=%s BADNESS=%s RECOVERED=NO",
- v, m, badness);
- }
}
/** Return a newly allocated string holding a filename relative to the data