gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r28207 - libmicrohttpd/src/testcurl
Date: Fri, 19 Jul 2013 22:26:17 +0200

Author: grothoff
Date: 2013-07-19 22:26:17 +0200 (Fri, 19 Jul 2013)
New Revision: 28207

Modified:
   libmicrohttpd/src/testcurl/test_post.c
Log:
-fix leak fix

Modified: libmicrohttpd/src/testcurl/test_post.c
===================================================================
--- libmicrohttpd/src/testcurl/test_post.c      2013-07-19 20:15:31 UTC (rev 
28206)
+++ libmicrohttpd/src/testcurl/test_post.c      2013-07-19 20:26:17 UTC (rev 
28207)
@@ -57,7 +57,7 @@
   struct MHD_PostProcessor *pp = *con_cls;
 
   if (NULL != pp)
-    MHD_destroy_post_processor (pp);
+    MHD_destroy_post_processor (pp);   
   *con_cls = NULL;
 }
 
@@ -100,6 +100,7 @@
   return MHD_YES;
 }
 
+
 static int
 ahc_echo (void *cls,
           struct MHD_Connection *connection,
@@ -433,6 +434,7 @@
   return 0;
 }
 
+
 static int
 ahc_cancel (void *cls,
            struct MHD_Connection *connection,
@@ -508,6 +510,7 @@
 #define FLAG_SLOW_READ 8
 #define FLAG_COUNT 16
 
+
 static int
 testMultithreadedPostCancelPart(int flags)
 {
@@ -532,7 +535,6 @@
   cbc.pos = 0;
   d = MHD_start_daemon (MHD_USE_THREAD_PER_CONNECTION | MHD_USE_DEBUG,
                         1081, NULL, NULL, &ahc_cancel, NULL, 
-                       MHD_OPTION_NOTIFY_COMPLETED, &completed_cb, NULL,       
                
                        MHD_OPTION_END);
   if (d == NULL)
     return 32768;




reply via email to

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