commit 63e395407f6f1d9c0b09ca4d80279d4f51d85b9a
parent feed888b908b2929112525d18a9199cc4af8fdca
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 7 Mar 2020 17:05:04 +0100
fix bad FTBFS
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
@@ -167,7 +167,7 @@ post_cork_setsockopt (struct MHD_Connection *connection,
case EINVAL:
/* FIXME: optlen invalid, should at least log this, maybe die */
#ifdef HAVE_MESSAGES
- MHD_DLOG (daemon,
+ MHD_DLOG (connection->daemon,
_ ("optlen invalid: %s\n"),
MHD_socket_last_strerr_ ());
#endif
@@ -175,7 +175,7 @@ post_cork_setsockopt (struct MHD_Connection *connection,
case EFAULT:
/* wopsie, should at leats log this, FIXME: maybe die */
#ifdef HAVE_MESSAGES
- MHD_DLOG (daemon,
+ MHD_DLOG (connection->daemon,
_ (
"The addresss pointed to by optval is not a valid part of the process address space: %s\n"),
MHD_socket_last_strerr_ ());
@@ -184,7 +184,7 @@ post_cork_setsockopt (struct MHD_Connection *connection,
case ENOPROTOOPT:
/* optlen unknown, should at least log this */
#ifdef HAVE_MESSAGES
- MHD_DLOG (daemon,
+ MHD_DLOG (connection->daemon,
_ ("The option is unknown: %s\n"),
MHD_socket_last_strerr_ ());
#endif