diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-09-22 21:03:22 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-09-22 21:03:22 +0300 |
commit | cba8e9f23e0855c63626118536a1495bd8c45089 (patch) | |
tree | c462dc04378d9ba8198803c8821516c204a144c2 /src/testcurl/https/test_https_get.c | |
parent | 2c4af5c590ebe0386b77fe04c90ffc67cd6e96b0 (diff) | |
download | libmicrohttpd-cba8e9f23e0855c63626118536a1495bd8c45089.tar.gz libmicrohttpd-cba8e9f23e0855c63626118536a1495bd8c45089.zip |
tests: fixed case-insensitive match for method name
Diffstat (limited to 'src/testcurl/https/test_https_get.c')
-rw-r--r-- | src/testcurl/https/test_https_get.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcurl/https/test_https_get.c b/src/testcurl/https/test_https_get.c index d7e534ed..503191e0 100644 --- a/src/testcurl/https/test_https_get.c +++ b/src/testcurl/https/test_https_get.c | |||
@@ -111,8 +111,8 @@ ahc_empty (void *cls, | |||
111 | (void) upload_data; | 111 | (void) upload_data; |
112 | (void) upload_data_size; /* Unused. Silent compiler warning. */ | 112 | (void) upload_data_size; /* Unused. Silent compiler warning. */ |
113 | 113 | ||
114 | if (0 != strcasecmp ("GET", | 114 | if (0 != strcmp ("GET", |
115 | method)) | 115 | method)) |
116 | return MHD_NO; /* unexpected method */ | 116 | return MHD_NO; /* unexpected method */ |
117 | if (&ptr != *unused) | 117 | if (&ptr != *unused) |
118 | { | 118 | { |