mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-29 23:15:56 -04:00
make things more standardized
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user