Skip to content

Commit aca935f

Browse files
authored
Replace strcasecmp to mycore_strcasecmp
1 parent 6224a68 commit aca935f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/myhtml/serialization.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ mystatus_t myhtml_serialization_node_callback(myhtml_tree_node_t* node, mycore_c
150150
attr = attr->next;
151151

152152
if(attr && attr->value.length == 6) {
153-
if(strcasecmp(attr->value.data, "SYSTEM") == 0) {
153+
if(mycore_strcasecmp(attr->value.data, "SYSTEM") == 0) {
154154
if(callback(" SYSTEM", 7, ptr))
155155
return MyCORE_STATUS_ERROR_MEMORY_ALLOCATION;
156-
} else if(strcasecmp(attr->value.data, "PUBLIC") == 0) {
156+
} else if(mycore_strcasecmp(attr->value.data, "PUBLIC") == 0) {
157157
if(callback(" PUBLIC", 7, ptr))
158158
return MyCORE_STATUS_ERROR_MEMORY_ALLOCATION;
159159
}

0 commit comments

Comments
 (0)