mirror of
https://github.com/lexborisov/Modest
synced 2024-11-21 21:31:25 +03:00
Replace strcasecmp to mycore_strcasecmp
This commit is contained in:
parent
6224a68f86
commit
aca935f07c
@ -150,10 +150,10 @@ mystatus_t myhtml_serialization_node_callback(myhtml_tree_node_t* node, mycore_c
|
||||
attr = attr->next;
|
||||
|
||||
if(attr && attr->value.length == 6) {
|
||||
if(strcasecmp(attr->value.data, "SYSTEM") == 0) {
|
||||
if(mycore_strcasecmp(attr->value.data, "SYSTEM") == 0) {
|
||||
if(callback(" SYSTEM", 7, ptr))
|
||||
return MyCORE_STATUS_ERROR_MEMORY_ALLOCATION;
|
||||
} else if(strcasecmp(attr->value.data, "PUBLIC") == 0) {
|
||||
} else if(mycore_strcasecmp(attr->value.data, "PUBLIC") == 0) {
|
||||
if(callback(" PUBLIC", 7, ptr))
|
||||
return MyCORE_STATUS_ERROR_MEMORY_ALLOCATION;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user