Hi,

path to fix a small bug in test_daemon.c.

Regards, Tim
From 9f7f9f65e8a3870a337ee78932e26c40fa1fc872 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tim Rühsen?= <[email protected]>
Date: Sat, 17 Jun 2017 12:37:49 +0200
Subject: [PATCH] testStartError(): Add missing argument to MHD_stop_daemon()

---
 src/microhttpd/test_daemon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/test_daemon.c b/src/microhttpd/test_daemon.c
index bd201512..f447e25f 100644
--- a/src/microhttpd/test_daemon.c
+++ b/src/microhttpd/test_daemon.c
@@ -43,7 +43,7 @@ testStartError ()
   d = MHD_start_daemon (MHD_USE_ERROR_LOG, 0, NULL, NULL, NULL, NULL);
   if (NULL != d)
   {
-    MHD_stop_daemon ();
+    MHD_stop_daemon (d);
     fprintf (stderr,
              "Succeeded to start without MHD_AccessHandlerCallback?\n");
     return 1;
--
2.11.0

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to