gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 02/05: MHD_accept_connection: cosmetics


From: gnunet
Subject: [libmicrohttpd] 02/05: MHD_accept_connection: cosmetics
Date: Tue, 24 Aug 2021 15:17:58 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 3420745f28705865314aef7138a6a12ef6ec506d
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Aug 24 12:36:18 2021 +0300

    MHD_accept_connection: cosmetics
---
 src/microhttpd/daemon.c | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index a375152f..4d089759 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -3586,8 +3586,10 @@ MHD_accept_connection (struct MHD_Daemon *daemon)
            would ever be cleared.  Instead trying to produce
            bit fat ugly warning. */
         MHD_DLOG (daemon,
-                  _ (
-                    "Hit process or system resource limit at FIRST connection. 
This is really bad as there is no sane way to proceed. Will try busy waiting 
for system resources to become magically available.\n"));
+                  _ ("Hit process or system resource limit at FIRST " \
+                     "connection. This is really bad as there is no sane " \
+                     "way to proceed. Will try busy waiting for system " \
+                     "resources to become magically available.\n"));
 #endif
       }
       else
@@ -3601,8 +3603,9 @@ MHD_accept_connection (struct MHD_Daemon *daemon)
 #endif
 #ifdef HAVE_MESSAGES
         MHD_DLOG (daemon,
-                  _ (
-                    "Hit process or system resource limit at %u connections, 
temporarily suspending accept(). Consider setting a lower 
MHD_OPTION_CONNECTION_LIMIT.\n"),
+                  _ ("Hit process or system resource limit at %u " \
+                     "connections, temporarily suspending accept(). " \
+                     "Consider setting a lower 
MHD_OPTION_CONNECTION_LIMIT.\n"),
                   (unsigned int) daemon->connections);
 #endif
       }
@@ -3614,8 +3617,8 @@ MHD_accept_connection (struct MHD_Daemon *daemon)
   {
 #ifdef HAVE_MESSAGES
     MHD_DLOG (daemon,
-              _ (
-                "Failed to set nonblocking mode on incoming connection socket: 
%s\n"),
+              _ ("Failed to set nonblocking mode on incoming connection " \
+                 "socket: %s\n"),
               MHD_socket_last_strerr_ ());
 #endif
   }
@@ -3627,8 +3630,8 @@ MHD_accept_connection (struct MHD_Daemon *daemon)
   {
 #ifdef HAVE_MESSAGES
     MHD_DLOG (daemon,
-              _ (
-                "Failed to set noninheritable mode on incoming connection 
socket.\n"));
+              _ ("Failed to set noninheritable mode on incoming connection " \
+                 "socket.\n"));
 #endif
   }
 #endif /* !USE_ACCEPT4 || !SOCK_CLOEXEC */
@@ -3637,8 +3640,8 @@ MHD_accept_connection (struct MHD_Daemon *daemon)
   {
 #ifdef HAVE_MESSAGES
     MHD_DLOG (daemon,
-              _ (
-                "Failed to suppress SIGPIPE on incoming connection socket: 
%s\n"),
+              _ ("Failed to suppress SIGPIPE on incoming connection " \
+                 "socket: %s\n"),
               MHD_socket_last_strerr_ ());
 #else  /* ! HAVE_MESSAGES */
     (void) 0; /* Mute compiler warning */

-- 
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]