gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r6688 - libmicrohttpd/src/testcurl


From: gnunet
Subject: [GNUnet-SVN] r6688 - libmicrohttpd/src/testcurl
Date: Sat, 12 Apr 2008 22:07:43 -0600 (MDT)

Author: grothoff
Date: 2008-04-12 22:07:43 -0600 (Sat, 12 Apr 2008)
New Revision: 6688

Modified:
   libmicrohttpd/src/testcurl/daemontest_large_put.c
Log:
fix

Modified: libmicrohttpd/src/testcurl/daemontest_large_put.c
===================================================================
--- libmicrohttpd/src/testcurl/daemontest_large_put.c   2008-04-13 04:07:24 UTC 
(rev 6687)
+++ libmicrohttpd/src/testcurl/daemontest_large_put.c   2008-04-13 04:07:43 UTC 
(rev 6688)
@@ -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 @@
                         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);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]