mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
fix bad FTBFS
This commit is contained in:
@@ -80,7 +80,7 @@ pre_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
|
||||
@@ -88,7 +88,7 @@ pre_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_ ());
|
||||
@@ -97,7 +97,7 @@ pre_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
|
||||
|
||||
Reference in New Issue
Block a user