diff options
Diffstat (limited to 'src/testcurl/test_post.c')
-rw-r--r-- | src/testcurl/test_post.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcurl/test_post.c b/src/testcurl/test_post.c index 8cce34a7..7bed9a3e 100644 --- a/src/testcurl/test_post.c +++ b/src/testcurl/test_post.c | |||
@@ -137,7 +137,7 @@ ahc_echo (void *cls, | |||
137 | enum MHD_Result ret; | 137 | enum MHD_Result ret; |
138 | (void) cls; (void) version; /* Unused. Silent compiler warning. */ | 138 | (void) cls; (void) version; /* Unused. Silent compiler warning. */ |
139 | 139 | ||
140 | if (0 != strcasecmp ("POST", method)) | 140 | if (0 != strcmp ("POST", method)) |
141 | { | 141 | { |
142 | printf ("METHOD: %s\n", method); | 142 | printf ("METHOD: %s\n", method); |
143 | return MHD_NO; /* unexpected method */ | 143 | return MHD_NO; /* unexpected method */ |
@@ -599,7 +599,7 @@ ahc_cancel (void *cls, | |||
599 | (void) cls; (void) url; (void) version; /* Unused. Silent compiler warning. */ | 599 | (void) cls; (void) url; (void) version; /* Unused. Silent compiler warning. */ |
600 | (void) upload_data; (void) upload_data_size; /* Unused. Silent compiler warning. */ | 600 | (void) upload_data; (void) upload_data_size; /* Unused. Silent compiler warning. */ |
601 | 601 | ||
602 | if (0 != strcasecmp ("POST", method)) | 602 | if (0 != strcmp ("POST", method)) |
603 | { | 603 | { |
604 | fprintf (stderr, | 604 | fprintf (stderr, |
605 | "Unexpected method `%s'\n", method); | 605 | "Unexpected method `%s'\n", method); |