diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-07 17:05:04 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-07 17:05:04 +0100 |
commit | 63e395407f6f1d9c0b09ca4d80279d4f51d85b9a (patch) | |
tree | 5ec17c5ea00514460288d731d7a6381a15e0dbc0 /src/microhttpd/mhd_send.c | |
parent | feed888b908b2929112525d18a9199cc4af8fdca (diff) | |
download | libmicrohttpd-63e395407f6f1d9c0b09ca4d80279d4f51d85b9a.tar.gz libmicrohttpd-63e395407f6f1d9c0b09ca4d80279d4f51d85b9a.zip |
fix bad FTBFS
Diffstat (limited to 'src/microhttpd/mhd_send.c')
-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 371da6c0..405fb3a6 100644 --- a/src/microhttpd/mhd_send.c +++ b/src/microhttpd/mhd_send.c | |||
@@ -167,7 +167,7 @@ post_cork_setsockopt (struct MHD_Connection *connection, | |||
167 | case EINVAL: | 167 | case EINVAL: |
168 | /* FIXME: optlen invalid, should at least log this, maybe die */ | 168 | /* FIXME: optlen invalid, should at least log this, maybe die */ |
169 | #ifdef HAVE_MESSAGES | 169 | #ifdef HAVE_MESSAGES |
170 | MHD_DLOG (daemon, | 170 | MHD_DLOG (connection->daemon, |
171 | _ ("optlen invalid: %s\n"), | 171 | _ ("optlen invalid: %s\n"), |
172 | MHD_socket_last_strerr_ ()); | 172 | MHD_socket_last_strerr_ ()); |
173 | #endif | 173 | #endif |
@@ -175,7 +175,7 @@ post_cork_setsockopt (struct MHD_Connection *connection, | |||
175 | case EFAULT: | 175 | case EFAULT: |
176 | /* wopsie, should at leats log this, FIXME: maybe die */ | 176 | /* wopsie, should at leats log this, FIXME: maybe die */ |
177 | #ifdef HAVE_MESSAGES | 177 | #ifdef HAVE_MESSAGES |
178 | MHD_DLOG (daemon, | 178 | MHD_DLOG (connection->daemon, |
179 | _ ( | 179 | _ ( |
180 | "The addresss pointed to by optval is not a valid part of the process address space: %s\n"), | 180 | "The addresss pointed to by optval is not a valid part of the process address space: %s\n"), |
181 | MHD_socket_last_strerr_ ()); | 181 | MHD_socket_last_strerr_ ()); |
@@ -184,7 +184,7 @@ post_cork_setsockopt (struct MHD_Connection *connection, | |||
184 | case ENOPROTOOPT: | 184 | case ENOPROTOOPT: |
185 | /* optlen unknown, should at least log this */ | 185 | /* optlen unknown, should at least log this */ |
186 | #ifdef HAVE_MESSAGES | 186 | #ifdef HAVE_MESSAGES |
187 | MHD_DLOG (daemon, | 187 | MHD_DLOG (connection->daemon, |
188 | _ ("The option is unknown: %s\n"), | 188 | _ ("The option is unknown: %s\n"), |
189 | MHD_socket_last_strerr_ ()); | 189 | MHD_socket_last_strerr_ ()); |
190 | #endif | 190 | #endif |