add a more proper check to look for an empty string

This commit is contained in:
DarthArgus
2016-04-17 22:50:41 +00:00
parent 8bce22b7b1
commit 64a4daada5
@@ -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;