diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-07 17:05:42 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-07 17:05:42 +0100 |
commit | 9f4422e0caebca3fee2bdb24cb78e6e9d59a3c39 (patch) | |
tree | 48fae3f80f5ec7a2d2c0d78e2ffa636f8483c447 | |
parent | 63e395407f6f1d9c0b09ca4d80279d4f51d85b9a (diff) | |
download | libmicrohttpd-9f4422e0caebca3fee2bdb24cb78e6e9d59a3c39.tar.gz libmicrohttpd-9f4422e0caebca3fee2bdb24cb78e6e9d59a3c39.zip |
fix bad FTBFS
-rw-r--r-- | src/microhttpd/mhd_send.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c index 405fb3a6..99e1af4c 100644 --- a/src/microhttpd/mhd_send.c +++ b/src/microhttpd/mhd_send.c | |||
@@ -80,7 +80,7 @@ pre_cork_setsockopt (struct MHD_Connection *connection, | |||
80 | case EINVAL: | 80 | case EINVAL: |
81 | /* FIXME: optlen invalid, should at least log this, maybe die */ | 81 | /* FIXME: optlen invalid, should at least log this, maybe die */ |
82 | #ifdef HAVE_MESSAGES | 82 | #ifdef HAVE_MESSAGES |
83 | MHD_DLOG (daemon, | 83 | MHD_DLOG (connection->daemon, |
84 | _ ("optlen invalid: %s\n"), | 84 | _ ("optlen invalid: %s\n"), |
85 | MHD_socket_last_strerr_ ()); | 85 | MHD_socket_last_strerr_ ()); |
86 | #endif | 86 | #endif |
@@ -88,7 +88,7 @@ pre_cork_setsockopt (struct MHD_Connection *connection, | |||
88 | case EFAULT: | 88 | case EFAULT: |
89 | /* wopsie, should at leats log this, FIXME: maybe die */ | 89 | /* wopsie, should at leats log this, FIXME: maybe die */ |
90 | #ifdef HAVE_MESSAGES | 90 | #ifdef HAVE_MESSAGES |
91 | MHD_DLOG (daemon, | 91 | MHD_DLOG (connection->daemon, |
92 | _ ( | 92 | _ ( |
93 | "The addresss pointed to by optval is not a valid part of the process address space: %s\n"), | 93 | "The addresss pointed to by optval is not a valid part of the process address space: %s\n"), |
94 | MHD_socket_last_strerr_ ()); | 94 | MHD_socket_last_strerr_ ()); |
@@ -97,7 +97,7 @@ pre_cork_setsockopt (struct MHD_Connection *connection, | |||
97 | case ENOPROTOOPT: | 97 | case ENOPROTOOPT: |
98 | /* optlen unknown, should at least log this */ | 98 | /* optlen unknown, should at least log this */ |
99 | #ifdef HAVE_MESSAGES | 99 | #ifdef HAVE_MESSAGES |
100 | MHD_DLOG (daemon, | 100 | MHD_DLOG (connection->daemon, |
101 | _ ("The option is unknown: %s\n"), | 101 | _ ("The option is unknown: %s\n"), |
102 | MHD_socket_last_strerr_ ()); | 102 | MHD_socket_last_strerr_ ()); |
103 | #endif | 103 | #endif |