diff options
-rw-r--r-- | src/microhttpd/mhd_send.c | 8 |
1 files 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 | |||
85 | MHD_send_on_connection_ (struct MHD_Connection *connection, | 85 | MHD_send_on_connection_ (struct MHD_Connection *connection, |
86 | const char *buffer, | 86 | const char *buffer, |
87 | size_t buffer_size, | 87 | size_t buffer_size, |
88 | enum MHD_SendSocketOptions) | 88 | enum MHD_SendSocketOptions options) |
89 | { | 89 | { |
90 | size_t length, opt1, opt2; | 90 | size_t length, opt1, opt2; |
91 | ssize_t num_bytes; | 91 | ssize_t num_bytes; |
@@ -94,7 +94,7 @@ MHD_send_on_connection_ (struct MHD_Connection *connection, | |||
94 | MHD_socket s = connection->socket_fd; | 94 | MHD_socket s = connection->socket_fd; |
95 | 95 | ||
96 | /* Get socket options, change/set options if necessary. */ | 96 | /* Get socket options, change/set options if necessary. */ |
97 | switch (MHD_SendSocketOptions) | 97 | switch (options) |
98 | { | 98 | { |
99 | /* No corking */ | 99 | /* No corking */ |
100 | case MHD_SSO_NO_CORK: | 100 | case MHD_SSO_NO_CORK: |
@@ -258,7 +258,7 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection, | |||
258 | size_t header_size, | 258 | size_t header_size, |
259 | const char *buffer, | 259 | const char *buffer, |
260 | size_t buffer_size, | 260 | size_t buffer_size, |
261 | enum MHD_SendSocketOptions) | 261 | enum MHD_SendSocketOptions options) |
262 | { | 262 | { |
263 | int errno = 0; | 263 | int errno = 0; |
264 | MHD_socket s = connection->socket_fd; | 264 | MHD_socket s = connection->socket_fd; |
@@ -299,7 +299,7 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection, | |||
299 | // mss = tcp_.tcpi_snd_mss; | 299 | // mss = tcp_.tcpi_snd_mss; |
300 | } | 300 | } |
301 | 301 | ||
302 | switch (MHD_SendSocketOptions) | 302 | switch (options) |
303 | { | 303 | { |
304 | case MHD_SSO_NO_CORK: | 304 | case MHD_SSO_NO_CORK: |
305 | /* No corking */ | 305 | /* No corking */ |