From 44d56393dbb14bee4e7470de07f9bf3e3c0bf324 Mon Sep 17 00:00:00 2001 From: XMRig Date: Sat, 31 Mar 2018 20:26:07 +0700 Subject: [PATCH] Fix Linux build. --- src/core/Config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Config.cpp b/src/core/Config.cpp index ec7e5de19..49b40aa83 100644 --- a/src/core/Config.cpp +++ b/src/core/Config.cpp @@ -139,7 +139,7 @@ void xmrig::Config::getJSON(rapidjson::Document &doc) const doc.AddMember("user-agent", userAgent() ? rapidjson::Value(rapidjson::StringRef(userAgent())).Move() : rapidjson::Value(rapidjson::kNullType).Move(), allocator); # ifdef HAVE_SYSLOG_H - doc.AddMember("syslog", syslog(), allocator); + doc.AddMember("syslog", isSyslog(), allocator); # endif doc.AddMember("watch", m_watch, allocator);