diff options
Diffstat (limited to 'src/testcurl/test_patch.c')
-rw-r--r-- | src/testcurl/test_patch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcurl/test_patch.c b/src/testcurl/test_patch.c index f443ad08..100242a5 100644 --- a/src/testcurl/test_patch.c +++ b/src/testcurl/test_patch.c | |||
@@ -90,12 +90,12 @@ ahc_echo (void *cls, | |||
90 | const char *method, | 90 | const char *method, |
91 | const char *version, | 91 | const char *version, |
92 | const char *upload_data, size_t *upload_data_size, | 92 | const char *upload_data, size_t *upload_data_size, |
93 | void **unused) | 93 | void **req_cls) |
94 | { | 94 | { |
95 | int *done = cls; | 95 | int *done = cls; |
96 | struct MHD_Response *response; | 96 | struct MHD_Response *response; |
97 | enum MHD_Result ret; | 97 | enum MHD_Result ret; |
98 | (void) version; (void) unused; /* Unused. Silent compiler warning. */ | 98 | (void) version; (void) req_cls; /* Unused. Silent compiler warning. */ |
99 | 99 | ||
100 | if (0 != strcmp ("PATCH", method)) | 100 | if (0 != strcmp ("PATCH", method)) |
101 | return MHD_NO; /* unexpected method */ | 101 | return MHD_NO; /* unexpected method */ |