From 93b1b1fa45db658be94a4e26eedf1198d848118c Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Fri, 22 Dec 2023 08:40:36 +0100 Subject: [PATCH] #40 Fix building with debug enabled set to false --- Common/DRATSServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/DRATSServer.cpp b/Common/DRATSServer.cpp index d83bbc4..38954f1 100644 --- a/Common/DRATSServer.cpp +++ b/Common/DRATSServer.cpp @@ -339,7 +339,7 @@ void* CDRATSServer::Entry() } catch (std::exception& e) { std::string message(e.what()); - CLog::logError("Exception raised in the D-RATS Server thread - \"%s\""), message.c_str(); + CLog::logError("Exception raised in the D-RATS Server thread - \"%s\"", message.c_str()); } catch (...) { CLog::logError("Unknown exception raised in the D-RATS Server thread");