From cbf84b65a4eb8696cb0f2ad476894c510b957a7a Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Tue, 2 Aug 2016 02:23:21 +0000 Subject: [PATCH] more snprintf...more later --- .../CustomerServiceServer/src/shared/CustomerServiceServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/server/application/CustomerServiceServer/src/shared/CustomerServiceServer.cpp b/engine/server/application/CustomerServiceServer/src/shared/CustomerServiceServer.cpp index fb4e7abe..ba68856b 100755 --- a/engine/server/application/CustomerServiceServer/src/shared/CustomerServiceServer.cpp +++ b/engine/server/application/CustomerServiceServer/src/shared/CustomerServiceServer.cpp @@ -103,7 +103,7 @@ m_pendingTicketList(new PendingTicketList) m_callback->connect(*this, &CustomerServiceServer::onEnumerateServers); char text[512]; - snprintf(text, sizeof(text), "CustomerServiceServer() - ServerName(%s) ServerPort(%i) GameCode(%s)", ConfigCustomerServiceServer::getCustomerServiceServerAddress(), ConfigCustomerServiceServer::getCustomerServiceServerPort(), ConfigCustomerServiceServer::getGameCode()); + snprintf(text, 512, "CustomerServiceServer() - ServerName(%s) ServerPort(%i) GameCode(%s)", ConfigCustomerServiceServer::getCustomerServiceServerAddress(), ConfigCustomerServiceServer::getCustomerServiceServerPort(), ConfigCustomerServiceServer::getGameCode()); REPORT_LOG(true, ("%s\n", text)); LOG("CSServer", ("%s", text));