libmicrohttpd2

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

commit 10e93abeec41d1b6d32e18e0657beee3ae44f278
parent 18cbc4db48063de43d62041d286f297b8b3b308b
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date:   Thu, 13 Aug 2026 09:48:37 +0200

conn_data_process: fixed compiler warning for non-TLS builds

Diffstat:
Msrc/mhd2/conn_data_process.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/mhd2/conn_data_process.c b/src/mhd2/conn_data_process.c @@ -84,7 +84,9 @@ process_conn_layer (struct MHD_Connection *restrict c) #ifdef MHD_SUPPORT_HTTPS if (mhd_C_HAS_TLS (c)) return mhd_conn_tls_check (c); -#endif /* MHD_SUPPORT_HTTPS */ +#else /* !MHD_SUPPORT_HTTPS */ + (void)c; +#endif /* !MHD_SUPPORT_HTTPS */ return mhd_COMM_LAYER_OK; }