diff options
| author | Martin Ridgers <[email protected]> | 2021-10-25 09:41:17 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-10-25 09:48:30 +0200 |
| commit | a221e6555a4079ddd0fe882710bf51c4f8d05fbc (patch) | |
| tree | 303dada14afc62741d25ecaa86ca387797e93839 /zenhttp/include | |
| parent | Cross-platform string comparison helper plus tests (diff) | |
| download | zen-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.h | 2 |
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; } |