libmicrohttpd

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

commit 01f33ecab22f1f74bd299c906d1915afeb6ae49e
parent 476d6c554c2cc2de993cd235e6600503f54b67ec
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date:   Mon, 23 Nov 2026 13:40:29 +0100

get_req_header(): fixed signed/unsigned comparision

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

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c @@ -6531,7 +6531,7 @@ get_req_header (struct MHD_Connection *c, do p++; while ((p < c->read_buffer_offset) && - (((unsigned char) c->read_buffer[p]) > ' ')); + (((unsigned char) c->read_buffer[p]) > ((unsigned char) ' '))); continue; #endif /* ! MHD_FAVOR_SMALL_CODE */ }