aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/httpserver.cpp')
-rw-r--r--src/httpserver.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/httpserver.cpp b/src/httpserver.cpp
index e00c68585e..f1116e35be 100644
--- a/src/httpserver.cpp
+++ b/src/httpserver.cpp
@@ -403,17 +403,12 @@ bool InitHTTPServer()
}
bool UpdateHTTPServerLogging(bool enable) {
-#if LIBEVENT_VERSION_NUMBER >= 0x02010100
if (enable) {
event_enable_debug_logging(EVENT_DBG_ALL);
} else {
event_enable_debug_logging(EVENT_DBG_NONE);
}
return true;
-#else
- // Can't update libevent logging if version < 02010100
- return false;
-#endif
}
static std::thread g_thread_http;