Now using strcasecmp to make case insensitive string compariso

This commit is contained in:
anschrammh 2022-09-27 07:18:56 +02:00
parent 636c3093de
commit ff16dbcfce

View File

@ -24,7 +24,7 @@ public:
{ {
if(_value == NULL) if(_value == NULL)
return false; return false;
return strcmp(_value,"true") == 0 || strcmp(_value,"TRUE") == 0 ? true : false; return strcasecmp(_value,"true") == 0 ? true : false;
} }
const char *getParameter() const{return _parameter == NULL ? "" : _parameter;} const char *getParameter() const{return _parameter == NULL ? "" : _parameter;}
bool isQuotedParameter()const{return _quotedParameter;} bool isQuotedParameter()const{return _quotedParameter;}