diff options
Diffstat (limited to 'src/testcurl/perf_get_concurrent.c')
-rw-r--r-- | src/testcurl/perf_get_concurrent.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/perf_get_concurrent.c b/src/testcurl/perf_get_concurrent.c index 7427ef42..ea282874 100644 --- a/src/testcurl/perf_get_concurrent.c +++ b/src/testcurl/perf_get_concurrent.c | |||
@@ -159,7 +159,7 @@ ahc_echo (void *cls, | |||
159 | const char *method, | 159 | const char *method, |
160 | const char *version, | 160 | const char *version, |
161 | const char *upload_data, size_t *upload_data_size, | 161 | const char *upload_data, size_t *upload_data_size, |
162 | void **unused) | 162 | void **req_cls) |
163 | { | 163 | { |
164 | static int ptr; | 164 | static int ptr; |
165 | const char *me = cls; | 165 | const char *me = cls; |
@@ -169,12 +169,12 @@ ahc_echo (void *cls, | |||
169 | 169 | ||
170 | if (0 != strcmp (me, method)) | 170 | if (0 != strcmp (me, method)) |
171 | return MHD_NO; /* unexpected method */ | 171 | return MHD_NO; /* unexpected method */ |
172 | if (&ptr != *unused) | 172 | if (&ptr != *req_cls) |
173 | { | 173 | { |
174 | *unused = &ptr; | 174 | *req_cls = &ptr; |
175 | return MHD_YES; | 175 | return MHD_YES; |
176 | } | 176 | } |
177 | *unused = NULL; | 177 | *req_cls = NULL; |
178 | ret = MHD_queue_response (connection, MHD_HTTP_OK, response); | 178 | ret = MHD_queue_response (connection, MHD_HTTP_OK, response); |
179 | if (ret == MHD_NO) | 179 | if (ret == MHD_NO) |
180 | abort (); | 180 | abort (); |