From a76c5dd70b96d6dfb0fba5fb7ce4c7908523a1e2 Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Sun, 17 Apr 2016 19:17:41 +0000 Subject: [PATCH] make things more standardized --- .../application/LoginServer/src/shared/ClientConnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/server/application/LoginServer/src/shared/ClientConnection.cpp b/engine/server/application/LoginServer/src/shared/ClientConnection.cpp index 50cd90b7..901880ac 100755 --- a/engine/server/application/LoginServer/src/shared/ClientConnection.cpp +++ b/engine/server/application/LoginServer/src/shared/ClientConnection.cpp @@ -210,7 +210,7 @@ void ClientConnection::validateClient(const std::string & id, const std::string std::string password(curl_easy_escape(curl, key.c_str(), 0)); std::string ip(curl_easy_escape(curl, getRemoteAddress().c_str(), 0)); - curl_easy_setopt(curl, CURLOPT_URL, (authURL + username + "&pw=" + password + "&ip=" + ip)); + curl_easy_setopt(curl, CURLOPT_URL, (authURL + "?user_name=" + username + "&user_password=" + password + "&user_ip=" + ip)); curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, WriteCallback); curl_easy_setopt(curl, CURLOPT_WRITEDATA, &readBuffer);