aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/include
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-10-25 09:41:17 +0200
committerMartin Ridgers <[email protected]>2021-10-25 09:48:30 +0200
commita221e6555a4079ddd0fe882710bf51c4f8d05fbc (patch)
tree303dada14afc62741d25ecaa86ca387797e93839 /zenhttp/include
parentCross-platform string comparison helper plus tests (diff)
downloadzen-a221e6555a4079ddd0fe882710bf51c4f8d05fbc.tar.xz
zen-a221e6555a4079ddd0fe882710bf51c4f8d05fbc.zip
Use StrCaseCompare() instead of Windows-only _stricmp()
Diffstat (limited to 'zenhttp/include')
-rw-r--r--zenhttp/include/zenhttp/httpserver.h2
1 files changed, 1 insertions, 1 deletions
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;
}