mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-29 23:15:56 -04:00
add a more proper check to look for an empty string
This commit is contained in:
@@ -196,7 +196,7 @@ void ClientConnection::validateClient(const std::string & id, const std::string
|
||||
|
||||
const char * authURL = ConfigLoginServer::getExternalAuthUrl();
|
||||
|
||||
if (authURL != NULL && authURL != '\0')
|
||||
if (authURL != NULL && strcmp(authURL, "") != 0)
|
||||
{
|
||||
CURL *curl;
|
||||
CURLcode res;
|
||||
|
||||
Reference in New Issue
Block a user