diff options
Diffstat (limited to 'src/testcurl/https/test_https_session_info.c')
-rw-r--r-- | src/testcurl/https/test_https_session_info.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testcurl/https/test_https_session_info.c b/src/testcurl/https/test_https_session_info.c index 3a49ce60..e428e278 100644 --- a/src/testcurl/https/test_https_session_info.c +++ b/src/testcurl/https/test_https_session_info.c | |||
@@ -47,7 +47,7 @@ static enum MHD_Result | |||
47 | query_session_ahc (void *cls, struct MHD_Connection *connection, | 47 | query_session_ahc (void *cls, struct MHD_Connection *connection, |
48 | const char *url, const char *method, | 48 | const char *url, const char *method, |
49 | const char *version, const char *upload_data, | 49 | const char *version, const char *upload_data, |
50 | size_t *upload_data_size, void **ptr) | 50 | size_t *upload_data_size, void **req_cls) |
51 | { | 51 | { |
52 | struct MHD_Response *response; | 52 | struct MHD_Response *response; |
53 | enum MHD_Result ret; | 53 | enum MHD_Result ret; |
@@ -55,9 +55,9 @@ query_session_ahc (void *cls, struct MHD_Connection *connection, | |||
55 | (void) cls; (void) url; (void) method; (void) version; /* Unused. Silent compiler warning. */ | 55 | (void) cls; (void) url; (void) method; (void) version; /* Unused. Silent compiler warning. */ |
56 | (void) upload_data; (void) upload_data_size; /* Unused. Silent compiler warning. */ | 56 | (void) upload_data; (void) upload_data_size; /* Unused. Silent compiler warning. */ |
57 | 57 | ||
58 | if (NULL == *ptr) | 58 | if (NULL == *req_cls) |
59 | { | 59 | { |
60 | *ptr = (void *) &query_session_ahc; | 60 | *req_cls = (void *) &query_session_ahc; |
61 | return MHD_YES; | 61 | return MHD_YES; |
62 | } | 62 | } |
63 | 63 | ||