libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 898453fea4434e00089339969a4bfc7e0c13b4de
parent 17e01403c603fef2c2d5bd1ff6195be6416fa219
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Sat, 17 Apr 2021 18:02:55 +0300

mhd_send: fixed copy-paster error in 99f2df6dea40624ff82b00ebe362e587f722985f

One more copy-paste error

Diffstat:
Msrc/microhttpd/mhd_send.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c @@ -275,7 +275,7 @@ MHD_connection_set_cork_state_ (struct MHD_Connection *connection, #else /* ! TCP_CORK */ "TCP_NOPUSH", #endif /* ! TCP_CORK */ - nodelay_state ? _ ("ON") : _ ("OFF"), + cork_state ? _ ("ON") : _ ("OFF"), (int) connection->socket_fd, MHD_socket_strerr_ (err_code)); } @@ -291,7 +291,7 @@ MHD_connection_set_cork_state_ (struct MHD_Connection *connection, #else /* ! TCP_CORK */ "TCP_NOPUSH", #endif /* ! TCP_CORK */ - nodelay_state ? _ ("ON") : _ ("OFF"), + cork_state ? _ ("ON") : _ ("OFF"), MHD_socket_strerr_ (err_code)); } #endif /* HAVE_MESSAGES */