libmicrohttpd

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

commit 1ddb4764a7504bda45c1184ca4a2b006f845a6dd
parent e4a40c110c375af620ea5141804843553243f20b
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Sat, 14 May 2022 16:47:31 +0300

MHD_create_response_empty(): fixed typo

Diffstat:
Msrc/microhttpd/response.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c @@ -1702,7 +1702,7 @@ MHD_create_response_empty (enum MHD_ResponseFlags flags) r = (struct MHD_Response *) MHD_calloc_ (1, sizeof (struct MHD_Response)); if (NULL != r) { - if (! MHD_mutex_init_ (&r->mutex)) + if (MHD_mutex_init_ (&r->mutex)) { r->fd = -1; r->reference_count = 1;