gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 08/10: transmit_error_response(): improved error log mes


From: gnunet
Subject: [libmicrohttpd] 08/10: transmit_error_response(): improved error log messages
Date: Wed, 29 Sep 2021 19:52:50 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit ac72beaa2b367959bef62686512d07137237f42f
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Sep 29 19:49:31 2021 +0300

    transmit_error_response(): improved error log messages
---
 src/microhttpd/connection.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 7b0e18ba..b6866bfc 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -2253,7 +2253,7 @@ transmit_error_response_len (struct MHD_Connection 
*connection,
   {
 #ifdef HAVE_MESSAGES
     MHD_DLOG (connection->daemon,
-              _ ("Cannot create error response.\n"),
+              _ ("Failed to create error response.\n"),
               status_code,
               message);
 #endif
@@ -2269,8 +2269,8 @@ transmit_error_response_len (struct MHD_Connection 
*connection,
   {
     /* can't even send a reply, at least close the connection */
     CONNECTION_CLOSE_ERROR (connection,
-                            _ (
-                              "Closing connection (failed to queue 
response)."));
+                            _ ("Closing connection " \
+                               "(failed to queue error response)."));
     return;
   }
   mhd_assert (NULL != connection->response);
@@ -2280,8 +2280,8 @@ transmit_error_response_len (struct MHD_Connection 
*connection,
   {
     /* oops - close! */
     CONNECTION_CLOSE_ERROR (connection,
-                            _ (
-                              "Closing connection (failed to create response 
header)."));
+                            _ ("Closing connection " \
+                               "(failed to create error response header)."));
   }
   else
   {

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]