Removed strcasecmp and strncasecmp because they are non-standand C functions. (#858)
This commit is contained in:
@@ -558,13 +558,13 @@ bool bacnet_channel_value_from_ascii(
|
||||
return false;
|
||||
}
|
||||
if (!status) {
|
||||
if (strcasecmp(argv, "null") == 0) {
|
||||
if (bacnet_stricmp(argv, "null") == 0) {
|
||||
value->tag = BACNET_APPLICATION_TAG_NULL;
|
||||
status = true;
|
||||
}
|
||||
}
|
||||
if (!status) {
|
||||
if (strcasecmp(argv, "true") == 0) {
|
||||
if (bacnet_stricmp(argv, "true") == 0) {
|
||||
value->tag = BACNET_APPLICATION_TAG_BOOLEAN;
|
||||
#if defined(CHANNEL_BOOLEAN)
|
||||
value->type.Boolean = true;
|
||||
@@ -573,7 +573,7 @@ bool bacnet_channel_value_from_ascii(
|
||||
}
|
||||
}
|
||||
if (!status) {
|
||||
if (strcasecmp(argv, "false") == 0) {
|
||||
if (bacnet_stricmp(argv, "false") == 0) {
|
||||
value->tag = BACNET_APPLICATION_TAG_BOOLEAN;
|
||||
#if defined(CHANNEL_BOOLEAN)
|
||||
value->type.Boolean = false;
|
||||
|
||||
Reference in New Issue
Block a user