From ade6e1f1d0779f2efc0507f6ddb0c58cca3ebaf7 Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Thu, 5 May 2016 14:34:47 +0000 Subject: [PATCH] we only use this var once, no reason to keep it... --- .../application/LoginServer/src/shared/ClientConnection.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/engine/server/application/LoginServer/src/shared/ClientConnection.cpp b/engine/server/application/LoginServer/src/shared/ClientConnection.cpp index c75b38c4..c9a67d74 100755 --- a/engine/server/application/LoginServer/src/shared/ClientConnection.cpp +++ b/engine/server/application/LoginServer/src/shared/ClientConnection.cpp @@ -188,12 +188,9 @@ void ClientConnection::validateClient(const std::string & id, const std::string if (!authURL.empty()) { std::ostringstream postBuf; - std::string postData; - postBuf << "user_name=" << id << "&user_password=" << key << "&stationID=" << suid << "&ip=" << getRemoteAddress(); - postData = std::string(postBuf.str()); - std::string response = webAPI::simplePost(authURL, postData, ""); + std::string response = webAPI::simplePost(authURL, std::string(postBuf.str()), ""); if (!response.empty()) {