From 816458fde97a41082796eb8d3323047cc4f87935 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 18 Nov 2016 16:48:15 +0100 Subject: give a bit more context in log message --- src/microhttpd/connection.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index c0ebead5..186e9dd2 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c @@ -2588,7 +2588,8 @@ MHD_connection_handle_write (struct MHD_Connection *connection) return MHD_YES; #ifdef HAVE_MESSAGES MHD_DLOG (connection->daemon, - _("Failed to send data: %s\n"), + _("Failed to send data in request for `%s': %s\n"), + connection->url, MHD_socket_strerr_ (err)); #endif CONNECTION_CLOSE_ERROR (connection, -- cgit v1.2.3