Now using strcasecmp to make case insensitive string compariso
This commit is contained in:
parent
636c3093de
commit
ff16dbcfce
@ -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;}
|
||||||
|
Loading…
Reference in New Issue
Block a user