gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 05/06: test_daemon: fixed error description


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 05/06: test_daemon: fixed error description, resource leak
Date: Thu, 15 Jun 2017 23:43:30 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 36bf651023e2f810bd2ae4aa1ab2354338b9f00c
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Thu Jun 15 20:19:43 2017 +0300

    test_daemon: fixed error description, resource leak
---
 src/microhttpd/test_daemon.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/microhttpd/test_daemon.c b/src/microhttpd/test_daemon.c
index 75f03d0b..9fc8e16d 100644
--- a/src/microhttpd/test_daemon.c
+++ b/src/microhttpd/test_daemon.c
@@ -43,8 +43,9 @@ testStartError ()
   d = MHD_start_daemon (MHD_USE_ERROR_LOG, 0, NULL, NULL, NULL, NULL);
   if (NULL != d)
   {
+    MHD_stop_daemon ();
     fprintf (stderr,
-             "Succeeded at binding to port 0?\n");
+             "Succeeded to start without MHD_AccessHandlerCallback?\n");
     return 1;
   }
   return 0;

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



reply via email to

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