libmicrohttpd

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

commit 42be9415cbcdb23463a86fbee612b3809bf7ed0c
parent e60c63aff64e87843ab9ab314c370f8017b7e931
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Wed, 21 Dec 2022 18:50:22 +0300

connection.c: cosmetics

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 @@ -3152,7 +3152,7 @@ parse_http_version (struct MHD_Connection *connection, /* String must start with 'HTTP/d.d', case-sensetive match. * See https://www.rfc-editor.org/rfc/rfc9112#name-http-version */ if ((HTTP_VER_LEN != len) || - ('H' != h[0] ) || ('T' != h[1]) || ('T' != h[2]) || ('P' != h[3]) || + ('H' != h[0]) || ('T' != h[1]) || ('T' != h[2]) || ('P' != h[3]) || ('/' != h[4]) || ('.' != h[6]) || (('0' > h[5]) || ('9' < h[5])) ||