gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] branch master updated: send_param_adapter()


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated: send_param_adapter(): improved var name, used correct var type.
Date: Sat, 21 Jan 2017 19:59:52 +0100

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 44eec406 send_param_adapter(): improved var name, used correct var 
type.
44eec406 is described below

commit 44eec4065139c5558ba8c860a4a590649bfda21a
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sat Jan 21 21:50:17 2017 +0300

    send_param_adapter(): improved var name, used correct var type.
---
 src/microhttpd/daemon.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 5ae6f138..82438bfa 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -1871,7 +1871,7 @@ send_param_adapter (struct MHD_Connection *connection,
        (MHD_resp_sender_sendfile == connection->resp_sender) )
     {
       /* can use sendfile */
-      MHD_socket fd = connection->response->fd;
+      int file_fd = connection->response->fd;
       uint64_t left;
       uint64_t offsetu64;
 #ifndef HAVE_SENDFILE64
@@ -1887,14 +1887,14 @@ send_param_adapter (struct MHD_Connection *connection,
       offset = (off_t) offsetu64;
       if ( (offsetu64 <= (uint64_t) OFF_T_MAX) &&
            (0 < (ret = sendfile (connection->socket_fd,
-                                 fd,
+                                 file_fd,
                                  &offset,
                                  left))) )
 #else  /* HAVE_SENDFILE64 */
       offset = (off64_t) offsetu64;
       if ( (offsetu64 <= (uint64_t) OFF64_T_MAX) &&
           (0 < (ret = sendfile64 (connection->socket_fd,
-                                   fd,
+                                  file_fd,
                                    &offset,
                                    left))) )
 #endif /* HAVE_SENDFILE64 */

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



reply via email to

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