mirror of
https://bitbucket.org/seefoe/src.git
synced 2026-07-30 00:15:46 -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