libmicrohttpd2

HTTP server C library (MHD 2.x, alpha)
Log | Files | Refs | README | LICENSE

commit dd93d48bce500e7920eb390957fc6f4566cca73d
parent dad5ab478f9ce88c98e679888479e032945def10
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date:   Sat,  4 Jul 2026 16:08:01 +0200

Fixed typo in public response option macro

Diffstat:
Msrc/include/microhttpd2.h | 8++++----
Msrc/include/microhttpd2_main.h.in | 8++++----
2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/include/microhttpd2.h b/src/include/microhttpd2.h @@ -6090,8 +6090,8 @@ MHD_NOWARN_VARIADIC_MACROS_ * * It should be used with helpers that creates required options, for example: * - * MHD_RESPONE_SET_OPTIONS(d, MHD_R_OPTION_REUSABLE(MHD_YES), - * MHD_R_OPTION_TERMINATION_CALLBACK(func, cls)) + * MHD_RESPONSE_SET_OPTIONS(r, MHD_R_OPTION_REUSABLE(MHD_YES), + * MHD_R_OPTION_TERMINATION_CALLBACK(func, cls)) * * @param response the response to set the option * @param ... the list of the options, each option must be created @@ -6118,8 +6118,8 @@ MHD_C_DECLARATIONS_START_HERE_ * * It should be used with helpers that creates required options, for example: * - * MHD_RESPONE_SET_OPTIONS(d, MHD_R_OPTION_REUSABLE(MHD_YES), - * MHD_R_OPTION_TERMINATION_CALLBACK(func, cls)) + * MHD_RESPONSE_SET_OPTIONS(r, MHD_R_OPTION_REUSABLE(MHD_YES), + * MHD_R_OPTION_TERMINATION_CALLBACK(func, cls)) * * @param response the response to set the option * @param ... the list of the options, each option must be created diff --git a/src/include/microhttpd2_main.h.in b/src/include/microhttpd2_main.h.in @@ -1174,8 +1174,8 @@ MHD_NOWARN_VARIADIC_MACROS_ * * It should be used with helpers that creates required options, for example: * - * MHD_RESPONE_SET_OPTIONS(d, MHD_R_OPTION_REUSABLE(MHD_YES), - * MHD_R_OPTION_TERMINATION_CALLBACK(func, cls)) + * MHD_RESPONSE_SET_OPTIONS(r, MHD_R_OPTION_REUSABLE(MHD_YES), + * MHD_R_OPTION_TERMINATION_CALLBACK(func, cls)) * * @param response the response to set the option * @param ... the list of the options, each option must be created @@ -1202,8 +1202,8 @@ MHD_C_DECLARATIONS_START_HERE_ * * It should be used with helpers that creates required options, for example: * - * MHD_RESPONE_SET_OPTIONS(d, MHD_R_OPTION_REUSABLE(MHD_YES), - * MHD_R_OPTION_TERMINATION_CALLBACK(func, cls)) + * MHD_RESPONSE_SET_OPTIONS(r, MHD_R_OPTION_REUSABLE(MHD_YES), + * MHD_R_OPTION_TERMINATION_CALLBACK(func, cls)) * * @param response the response to set the option * @param ... the list of the options, each option must be created