diff options
Diffstat (limited to 'src/testcurl/test_toolarge.c')
-rw-r--r-- | src/testcurl/test_toolarge.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/test_toolarge.c b/src/testcurl/test_toolarge.c index 6f78d7ba..134fd8af 100644 --- a/src/testcurl/test_toolarge.c +++ b/src/testcurl/test_toolarge.c | |||
@@ -448,7 +448,7 @@ ahcCheck (void *cls, | |||
448 | const char *method, | 448 | const char *method, |
449 | const char *version, | 449 | const char *version, |
450 | const char *upload_data, size_t *upload_data_size, | 450 | const char *upload_data, size_t *upload_data_size, |
451 | void **con_cls) | 451 | void **req_cls) |
452 | { | 452 | { |
453 | static int ptr; | 453 | static int ptr; |
454 | struct MHD_Response *response; | 454 | struct MHD_Response *response; |
@@ -477,12 +477,12 @@ ahcCheck (void *cls, | |||
477 | if (0 != strcmp (param->rq_method, method)) | 477 | if (0 != strcmp (param->rq_method, method)) |
478 | mhdErrorExitDesc ("Unexpected request method"); | 478 | mhdErrorExitDesc ("Unexpected request method"); |
479 | 479 | ||
480 | if (&ptr != *con_cls) | 480 | if (&ptr != *req_cls) |
481 | { | 481 | { |
482 | *con_cls = &ptr; | 482 | *req_cls = &ptr; |
483 | return MHD_YES; | 483 | return MHD_YES; |
484 | } | 484 | } |
485 | *con_cls = NULL; | 485 | *req_cls = NULL; |
486 | 486 | ||
487 | if (1 > MHD_get_connection_values_n (connection, MHD_HEADER_KIND, | 487 | if (1 > MHD_get_connection_values_n (connection, MHD_HEADER_KIND, |
488 | &headerCheckerInterator, | 488 | &headerCheckerInterator, |