libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit ffcd629d03138365e8c5813731341d1154b07b7f
parent 1e9ac9c8874bfb1a26b03d92d7ee213f0df32c2a
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 13 Apr 2008 04:07:43 +0000

fix

Diffstat:
Msrc/testcurl/daemontest_large_put.c | 9+++------
1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/testcurl/daemontest_large_put.c b/src/testcurl/daemontest_large_put.c @@ -1,6 +1,6 @@ /* This file is part of libmicrohttpd - (C) 2007 Christian Grothoff + (C) 2007, 2008 Christian Grothoff libmicrohttpd is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -19,7 +19,7 @@ */ /** - * @file daemontest_put.c + * @file daemontest_large_put.c * @brief Testcase for libmicrohttpd PUT operations * @author Christian Grothoff */ @@ -203,10 +203,7 @@ testMultithreadedPut () 1081, NULL, NULL, &ahc_echo, &done_flag, MHD_OPTION_END); if (d == NULL) - { - free (cbc.buf); - return 16; - } + return 16; c = curl_easy_init (); curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1081/hello_world"); curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);