[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 02/03: MHD_start_daemon(): further improved UNIX / IP so
From: |
gnunet |
Subject: |
[libmicrohttpd] 02/03: MHD_start_daemon(): further improved UNIX / IP socket detection |
Date: |
Sun, 12 Nov 2023 18:16:49 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit bcdb52984cc778e0caf280589788b2e04aff3043
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Nov 12 18:56:20 2023 +0300
MHD_start_daemon(): further improved UNIX / IP socket detection
---
src/microhttpd/daemon.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 6aaeaae4..32930a6f 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -8197,6 +8197,7 @@ MHD_start_daemon_va (unsigned int flags,
struct sockaddr_in *s4 = (struct sockaddr_in *) &bindaddr;
daemon->port = ntohs (s4->sin_port);
+ daemon->listen_is_unix = _MHD_NO;
break;
}
#ifdef HAVE_INET6
@@ -8205,6 +8206,7 @@ MHD_start_daemon_va (unsigned int flags,
struct sockaddr_in6 *s6 = (struct sockaddr_in6 *) &bindaddr;
daemon->port = ntohs (s6->sin6_port);
+ daemon->listen_is_unix = _MHD_NO;
mhd_assert (0 != (*pflags & MHD_USE_IPv6));
break;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.