From aca935f07cd062e716f1f76bdf1363e6330b04b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB=20=D0=96=D1=83=D0=BC?= =?UTF-8?q?=D0=B0=D1=80=D0=B8=D0=BD?= Date: Sat, 2 Jun 2018 11:15:22 +0300 Subject: [PATCH] Replace strcasecmp to mycore_strcasecmp --- source/myhtml/serialization.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/myhtml/serialization.c b/source/myhtml/serialization.c index e18667e..3fc5563 100755 --- a/source/myhtml/serialization.c +++ b/source/myhtml/serialization.c @@ -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; }