aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zen/zen.cpp2
-rw-r--r--zenhttp/include/zenhttp/httpserver.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/zen/zen.cpp b/zen/zen.cpp
index 3c33ff5e0..1fe23d32b 100644
--- a/zen/zen.cpp
+++ b/zen/zen.cpp
@@ -264,7 +264,7 @@ main(int argc, char** argv)
for (const CommandInfo& CmdInfo : Commands)
{
- if (_stricmp(SubCommand.c_str(), CmdInfo.CmdName) == 0)
+ if (StrCaseCompare(SubCommand.c_str(), CmdInfo.CmdName) == 0)
{
cxxopts::Options* VerbOptions = CmdInfo.Cmd->Options();
diff --git a/zenhttp/include/zenhttp/httpserver.h b/zenhttp/include/zenhttp/httpserver.h
index 93ba452c7..614cdc2ac 100644
--- a/zenhttp/include/zenhttp/httpserver.h
+++ b/zenhttp/include/zenhttp/httpserver.h
@@ -46,7 +46,7 @@ public:
if (Key.size() == ParamName.size())
{
- if (0 == _strnicmp(Key.data(), ParamName.data(), Key.size()))
+ if (0 == StrCaseCompare(Key.data(), ParamName.data(), Key.size()))
{
return Kv.second;
}