mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-29 04:09:31 +03:00
tests: fixed case-insensitive match for method name
This commit is contained in:
10 files changed
+15
-15
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user