gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] branch master updated: Fix test_concurrent_


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated: Fix test_concurrent_stop regression introduced by e8d937beb5e0bf118c381846f2392cab973a2528
Date: Mon, 19 Jun 2017 22:02:35 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new d5276ef3 Fix test_concurrent_stop regression introduced by 
e8d937beb5e0bf118c381846f2392cab973a2528
d5276ef3 is described below

commit d5276ef333abdebef7eaf63bf372f66256e46010
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Mon Jun 19 23:02:14 2017 +0300

    Fix test_concurrent_stop regression introduced by 
e8d937beb5e0bf118c381846f2392cab973a2528
---
 src/testcurl/test_concurrent_stop.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/testcurl/test_concurrent_stop.c 
b/src/testcurl/test_concurrent_stop.c
index 67c48e1c..afb5bd69 100644
--- a/src/testcurl/test_concurrent_stop.c
+++ b/src/testcurl/test_concurrent_stop.c
@@ -284,8 +284,9 @@ main (int argc, char *const *argv)
   response = MHD_create_response_from_buffer (strlen ("/hello_world"),
                                              "/hello_world",
                                              MHD_RESPMEM_MUST_COPY);
-  errorCount += testMultithreadedGet (port++, 0);
-  errorCount += testMultithreadedPoolGet (port++, 0);
+  errorCount += testMultithreadedGet (port, 0);
+  if (0 != port) port++;
+  errorCount += testMultithreadedPoolGet (port, 0);
   MHD_destroy_response (response);
   if (errorCount != 0)
     fprintf (stderr, "Error (code: %u)\n", errorCount);

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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