tests: fixed case-insensitive match for method name

This commit is contained in:
Evgeny Grin (Karlson2k) committed 2021-09-22 21:03:22 +03:00
1 parent 2c4af5c590
commit cba8e9f23e
10 files changed
+15 -15

No files matched your search

+2 -2
View File
@@ -111,8 +111,8 @@ ahc_empty (void *cls,
(void) upload_data;
(void) upload_data_size; /* Unused. Silent compiler warning. */
if (0 != strcasecmp ("GET",
method))
if (0 != strcmp ("GET",
method))
return MHD_NO; /* unexpected method */
if (&ptr != *unused)
{