aboutsummaryrefslogtreecommitdiff
path: root/src/testzzuf/test_put.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testzzuf/test_put.c')
-rw-r--r--src/testzzuf/test_put.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testzzuf/test_put.c b/src/testzzuf/test_put.c
index 605f4804..2c79c759 100644
--- a/src/testzzuf/test_put.c
+++ b/src/testzzuf/test_put.c
@@ -62,6 +62,7 @@ putBuffer (void *stream, size_t size, size_t nmemb, void *ptr)
62 return wrt; 62 return wrt;
63} 63}
64 64
65
65static size_t 66static size_t
66copyBuffer (void *ptr, size_t size, size_t nmemb, void *ctx) 67copyBuffer (void *ptr, size_t size, size_t nmemb, void *ctx)
67{ 68{
@@ -74,6 +75,7 @@ copyBuffer (void *ptr, size_t size, size_t nmemb, void *ctx)
74 return size * nmemb; 75 return size * nmemb;
75} 76}
76 77
78
77static int 79static int
78ahc_echo (void *cls, 80ahc_echo (void *cls,
79 struct MHD_Connection *connection, 81 struct MHD_Connection *connection,
@@ -167,6 +169,7 @@ testInternalPut ()
167 return 0; 169 return 0;
168} 170}
169 171
172
170static int 173static int
171testMultithreadedPut () 174testMultithreadedPut ()
172{ 175{
@@ -281,7 +284,6 @@ testExternalPut ()
281 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1L); 284 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1L);
282 285
283 286
284
285 mret = curl_multi_add_handle (multi, c); 287 mret = curl_multi_add_handle (multi, c);
286 if (mret != CURLM_OK) 288 if (mret != CURLM_OK)
287 { 289 {