libmicrohttpd2

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

commit b1b74560e8a0328da4b1b485a5107b54a41c6450
parent 72d109bd938ca8e76ece4187bc94dc4c93c761a9
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 31 May 2026 00:23:30 +0200

mark unnecessary check

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

diff --git a/src/mhd2/stream_process_request.c b/src/mhd2/stream_process_request.c @@ -2476,7 +2476,7 @@ parse_cookies_string (const size_t str_len, return MHD_PARSE_COOKIE_MALFORMED; /* Garbage at the end of the cookie value */ } mhd_assert (0 != name_len); - if (value_start + value_len < str_len) + if (value_start + value_len < str_len) /* TODO: check seems unnecessary */ str[name_start + name_len] = '\0'; /* Zero-terminate the name */ if (0 != value_len) {