libmicrohttpd2

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

commit 41677cbcbd02f995f5e302ca0ec1de9d96e84d9b
parent c5a7c98ea78305569d8fa261ec973cfe7d3e917c
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date:   Fri, 13 Jun 2025 21:14:59 +0200

configure: minor check improvement

Diffstat:
Mconfigure.ac | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac @@ -3929,10 +3929,10 @@ MHD_CHECK_FUNC([memmem], #include <string.h> ]], [[ - const char *haystack = "abc"; + const char *haystack = "abcd"; size_t hslen = 3; - const char *needle = "b"; - size_t needlelen = 1; + const char *needle = "bc"; + size_t needlelen = 2; i][f ((haystack + 1) != memmem(haystack, hslen, needle, needlelen)) return 3;