aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_tricky.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_tricky.c')
-rw-r--r--src/testcurl/test_tricky.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/test_tricky.c b/src/testcurl/test_tricky.c
index 50af68a1..afb29bbd 100644
--- a/src/testcurl/test_tricky.c
+++ b/src/testcurl/test_tricky.c
@@ -385,7 +385,7 @@ ahcCheck (void *cls,
385 const char *method, 385 const char *method,
386 const char *version, 386 const char *version,
387 const char *upload_data, size_t *upload_data_size, 387 const char *upload_data, size_t *upload_data_size,
388 void **con_cls) 388 void **req_cls)
389{ 389{
390 static int ptr; 390 static int ptr;
391 struct MHD_Response *response; 391 struct MHD_Response *response;
@@ -413,12 +413,12 @@ ahcCheck (void *cls,
413 if (0 != strcmp (param->rq_method, method)) 413 if (0 != strcmp (param->rq_method, method))
414 mhdErrorExitDesc ("Unexpected request method"); 414 mhdErrorExitDesc ("Unexpected request method");
415 415
416 if (&ptr != *con_cls) 416 if (&ptr != *req_cls)
417 { 417 {
418 *con_cls = &ptr; 418 *req_cls = &ptr;
419 return MHD_YES; 419 return MHD_YES;
420 } 420 }
421 *con_cls = NULL; 421 *req_cls = NULL;
422 422
423 if (1 > MHD_get_connection_values_n (connection, MHD_HEADER_KIND, 423 if (1 > MHD_get_connection_values_n (connection, MHD_HEADER_KIND,
424 &headerCheckerInterator, 424 &headerCheckerInterator,