From 821a17e24f30ef924ae6ef268d30cda2c448255a Mon Sep 17 00:00:00 2001 From: BenDr0id Date: Mon, 2 Sep 2019 11:03:09 +0200 Subject: [PATCH] Fixed clang compile --- src/cc/CCClient.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cc/CCClient.cpp b/src/cc/CCClient.cpp index b14ea480..f797faf6 100644 --- a/src/cc/CCClient.cpp +++ b/src/cc/CCClient.cpp @@ -292,7 +292,7 @@ void xmrig::CCClient::fetchConfig() LOG_WARN("[CC-Client] Config updated. -> reload"); } else { - LOG_ERR("[CC-Client] Not able to store client config to file %s.", m_base->config()->fileName()); + LOG_ERR("[CC-Client] Not able to store client config to file %s.", m_base->config()->fileName().data()); } } else { LOG_ERR("[CC-Client] Not able to store client config. received client config is broken!"); @@ -333,10 +333,10 @@ void xmrig::CCClient::publishConfig() m_base->config()->ccClient().port(), requestUrl.c_str()); } } else { - LOG_ERR("[CC-Client] Not able to send config. Client config %s is broken!", m_base->config()->fileName()); + LOG_ERR("[CC-Client] Not able to send config. Client config %s is broken!", m_base->config()->fileName().data()); } } else { - LOG_ERR("[CC-Client] Not able to load client config %s. Please make sure it exists! Using embedded config.", m_base->config()->fileName()); + LOG_ERR("[CC-Client] Not able to load client config %s. Please make sure it exists! Using embedded config.", m_base->config()->fileName().data()); } } @@ -427,4 +427,4 @@ void xmrig::CCClient::publishThread(CCClient* handle) handle->publishClientStatusReport(); } -} \ No newline at end of file +}