aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/daemontest_large_put.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/daemontest_large_put.c')
-rw-r--r--src/testcurl/daemontest_large_put.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/testcurl/daemontest_large_put.c b/src/testcurl/daemontest_large_put.c
index 414ddf76..e8f702a5 100644
--- a/src/testcurl/daemontest_large_put.c
+++ b/src/testcurl/daemontest_large_put.c
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of libmicrohttpd 2 This file is part of libmicrohttpd
3 (C) 2007 Christian Grothoff 3 (C) 2007, 2008 Christian Grothoff
4 4
5 libmicrohttpd is free software; you can redistribute it and/or modify 5 libmicrohttpd is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published 6 it under the terms of the GNU General Public License as published
@@ -19,7 +19,7 @@
19*/ 19*/
20 20
21/** 21/**
22 * @file daemontest_put.c 22 * @file daemontest_large_put.c
23 * @brief Testcase for libmicrohttpd PUT operations 23 * @brief Testcase for libmicrohttpd PUT operations
24 * @author Christian Grothoff 24 * @author Christian Grothoff
25 */ 25 */
@@ -203,10 +203,7 @@ testMultithreadedPut ()
203 1081, 203 1081,
204 NULL, NULL, &ahc_echo, &done_flag, MHD_OPTION_END); 204 NULL, NULL, &ahc_echo, &done_flag, MHD_OPTION_END);
205 if (d == NULL) 205 if (d == NULL)
206 { 206 return 16;
207 free (cbc.buf);
208 return 16;
209 }
210 c = curl_easy_init (); 207 c = curl_easy_init ();
211 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1081/hello_world"); 208 curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1081/hello_world");
212 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 209 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);