aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/daemontest_large_put.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2008-04-13 04:07:43 +0000
committerChristian Grothoff <christian@grothoff.org>2008-04-13 04:07:43 +0000
commitffcd629d03138365e8c5813731341d1154b07b7f (patch)
tree65de7376eeb5dbd782db3eec435d1619fe1aa1f8 /src/testcurl/daemontest_large_put.c
parent1e9ac9c8874bfb1a26b03d92d7ee213f0df32c2a (diff)
downloadlibmicrohttpd-ffcd629d03138365e8c5813731341d1154b07b7f.tar.gz
libmicrohttpd-ffcd629d03138365e8c5813731341d1154b07b7f.zip
fix
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);