aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_large_put.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_large_put.c')
-rw-r--r--src/testcurl/test_large_put.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/test_large_put.c b/src/testcurl/test_large_put.c
index b00d0e1a..161e0f0b 100644
--- a/src/testcurl/test_large_put.c
+++ b/src/testcurl/test_large_put.c
@@ -233,7 +233,7 @@ ahc_echo (void *cls,
233 const char *method, 233 const char *method,
234 const char *version, 234 const char *version,
235 const char *upload_data, size_t *upload_data_size, 235 const char *upload_data, size_t *upload_data_size,
236 void **pparam) 236 void **req_cls)
237{ 237{
238 int *done = cls; 238 int *done = cls;
239 struct MHD_Response *response; 239 struct MHD_Response *response;
@@ -259,13 +259,13 @@ ahc_echo (void *cls,
259 if ((*done) == 0) 259 if ((*done) == 0)
260 { 260 {
261 size_t *pproc; 261 size_t *pproc;
262 if (NULL == *pparam) 262 if (NULL == *req_cls)
263 { 263 {
264 processed = 0; 264 processed = 0;
265 /* Safe as long as only one parallel request served. */ 265 /* Safe as long as only one parallel request served. */
266 *pparam = &processed; 266 *req_cls = &processed;
267 } 267 }
268 pproc = (size_t *) *pparam; 268 pproc = (size_t *) *req_cls;
269 269
270 if (0 == *upload_data_size) 270 if (0 == *upload_data_size)
271 return MHD_YES; /* No data to process. */ 271 return MHD_YES; /* No data to process. */