From 28ffc55d895172ef68d41a1f831c4c4f766225fd Mon Sep 17 00:00:00 2001 From: Mattes D Date: Sat, 24 Jan 2015 15:08:11 +0100 Subject: RCON server: fixed compilation. --- src/RCONServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RCONServer.cpp b/src/RCONServer.cpp index 2ec7f191f..63bc97fe3 100644 --- a/src/RCONServer.cpp +++ b/src/RCONServer.cpp @@ -67,7 +67,7 @@ protected: virtual void OnAccepted(cTCPLink & a_Link) override {} virtual void OnError(int a_ErrorCode, const AString & a_ErrorMsg) override { - LOGWARNING("RCON server error on port %d: %d (%s)", m_Port, a_ErrorCode, a_ErrorMsg); + LOGWARNING("RCON server error on port %d: %d (%s)", m_Port, a_ErrorCode, a_ErrorMsg.c_str()); } }; -- cgit v1.2.3