gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] branch master updated: use static, parens


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated: use static, parens
Date: Thu, 23 Mar 2017 09:25:38 +0100

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

grothoff pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 931a0239 use static, parens
931a0239 is described below

commit 931a023922326be30ef54c9da36a3d5abbb15320
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Mar 23 09:10:34 2017 +0100

    use static, parens
---
 src/microhttpd/daemon.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index d1ec032a..277ed60a 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -1145,7 +1145,8 @@ call_handlers (struct MHD_Connection *con,
 #endif /* HTTPS_SUPPORT */
   if (!force_close)
     {
-      if (MHD_EVENT_LOOP_INFO_READ == con->event_loop_info && read_ready)
+      if ( (MHD_EVENT_LOOP_INFO_READ == con->event_loop_info) &&
+          read_ready)
         {
           con->read_handler (con);
           ret = con->idle_handler (con);
@@ -1153,7 +1154,8 @@ call_handlers (struct MHD_Connection *con,
         }
       /* No need to check value of 'ret' here as closed connection
        * cannot be in MHD_EVENT_LOOP_INFO_WRITE state. */
-      if (MHD_EVENT_LOOP_INFO_WRITE == con->event_loop_info && write_ready)
+      if ( (MHD_EVENT_LOOP_INFO_WRITE == con->event_loop_info) &&
+          write_ready)
         {
           con->write_handler (con);
           ret = con->idle_handler (con);
@@ -3317,7 +3319,7 @@ MHD_get_timeout (struct MHD_Daemon *daemon,
  * @return #MHD_NO on serious errors, #MHD_YES on success
  * @ingroup event
  */
-int
+static int
 internal_run_from_select (struct MHD_Daemon *daemon,
                           const fd_set *read_fd_set,
                           const fd_set *write_fd_set,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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