commit 846f5e56f62b1b09f79dead15a05b3b8ed2203b3
parent 9ffecc0d85da71ae985b07afb382309b61bde4f5
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date: Wed, 8 Jul 2026 23:15:51 +0200
Public API: fixed typo in ResponseCode name
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/include/microhttpd2.h b/src/include/microhttpd2.h
@@ -794,7 +794,7 @@ enum MHD_FIXED_ENUM_MHD_SET_ MHD_StatusCode
/**
* The request cannot be processed. Sending error reply.
*/
- MHD_SC_REQ_PROCCESSING_ERR_REPLY = 41000
+ MHD_SC_REQ_PROCESSING_ERR_REPLY = 41000
,
/**
* MHD is closing a connection because of timeout.
diff --git a/src/include/microhttpd2_preamble.h.in b/src/include/microhttpd2_preamble.h.in
@@ -794,7 +794,7 @@ enum MHD_FIXED_ENUM_MHD_SET_ MHD_StatusCode
/**
* The request cannot be processed. Sending error reply.
*/
- MHD_SC_REQ_PROCCESSING_ERR_REPLY = 41000
+ MHD_SC_REQ_PROCESSING_ERR_REPLY = 41000
,
/**
* MHD is closing a connection because of timeout.
diff --git a/src/mhd2/respond_with_error.c b/src/mhd2/respond_with_error.c
@@ -115,7 +115,7 @@ respond_with_error_len (struct MHD_Connection *c,
c->rq.too_large = true;
mhd_LOG_PRINT (c->daemon,
- MHD_SC_REQ_PROCCESSING_ERR_REPLY,
+ MHD_SC_REQ_PROCESSING_ERR_REPLY,
mhd_LOG_FMT ("Error processing request. Sending %u " \
"error reply: %s"),
(unsigned int)http_code,