[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
- [GNUnet-SVN] [libmicrohttpd] branch master updated (8eb8e558 -> e8d937be), gnunet, 2017/06/15
- [GNUnet-SVN] [libmicrohttpd] 05/06: test_daemon: fixed error description, resource leak,
gnunet <=
- [GNUnet-SVN] [libmicrohttpd] 01/06: Configure: removed unwanted extra square brackets, gnunet, 2017/06/15
- [GNUnet-SVN] [libmicrohttpd] 02/06: Correctly initialize IPv6 "any" address and non-standard IPv4 "any" address., gnunet, 2017/06/15
- [GNUnet-SVN] [libmicrohttpd] 04/06: MHD_get_daemon_info(): return bind port number by MHD_DAEMON_INFO_BIND_PORT, gnunet, 2017/06/15
- [GNUnet-SVN] [libmicrohttpd] 03/06: MHD_start_daemon(): added port autodetection if '0' (autoselect) is used for port number, Added new MHD_FEATURE value MHD_FEATURE_AUTODETECT_BIND_PORT., gnunet, 2017/06/15
- [GNUnet-SVN] [libmicrohttpd] 06/06: Make testsuite parallel build compatible (part 1), gnunet, 2017/06/15