gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 08/154: fix syntax


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 08/154: fix syntax
Date: Mon, 19 Aug 2019 10:15:20 +0200

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

ng0 pushed a commit to branch master
in repository libmicrohttpd.

commit 77db4d16b1ae42045785bd3c6a00fa969f08fb6a
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Jun 17 20:22:15 2019 +0200

    fix syntax
---
 src/microhttpd/mhd_send.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index 70a9bc16..df276f00 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -85,7 +85,7 @@ ssize_t
 MHD_send_on_connection_ (struct MHD_Connection *connection,
                          const char *buffer,
                          size_t buffer_size,
-                         enum MHD_SendSocketOptions)
+                         enum MHD_SendSocketOptions options)
 {
   size_t length, opt1, opt2;
   ssize_t num_bytes;
@@ -94,7 +94,7 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
   MHD_socket s = connection->socket_fd;
 
   /* Get socket options, change/set options if necessary. */
-  switch (MHD_SendSocketOptions)
+  switch (options)
   {
   /* No corking */
   case MHD_SSO_NO_CORK:
@@ -258,7 +258,7 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection,
                           size_t header_size,
                           const char *buffer,
                           size_t buffer_size,
-                          enum MHD_SendSocketOptions)
+                          enum MHD_SendSocketOptions options)
 {
   int errno = 0;
   MHD_socket s = connection->socket_fd;
@@ -299,7 +299,7 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection,
       // mss = tcp_.tcpi_snd_mss;
     }
 
-  switch (MHD_SendSocketOptions)
+  switch (options)
   {
   case MHD_SSO_NO_CORK:
     /* No corking */

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



reply via email to

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