aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-12-21 18:50:22 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-12-21 18:50:22 +0300
commit42be9415cbcdb23463a86fbee612b3809bf7ed0c (patch)
treee0e67461f4903a8fd92508c936f41c4818ef6fc7
parente60c63aff64e87843ab9ab314c370f8017b7e931 (diff)
downloadlibmicrohttpd-42be9415cbcdb23463a86fbee612b3809bf7ed0c.tar.gz
libmicrohttpd-42be9415cbcdb23463a86fbee612b3809bf7ed0c.zip
connection.c: cosmetics
-rw-r--r--src/microhttpd/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index e6c93f25..5e5c2f13 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -3152,7 +3152,7 @@ parse_http_version (struct MHD_Connection *connection,
3152 /* String must start with 'HTTP/d.d', case-sensetive match. 3152 /* String must start with 'HTTP/d.d', case-sensetive match.
3153 * See https://www.rfc-editor.org/rfc/rfc9112#name-http-version */ 3153 * See https://www.rfc-editor.org/rfc/rfc9112#name-http-version */
3154 if ((HTTP_VER_LEN != len) || 3154 if ((HTTP_VER_LEN != len) ||
3155 ('H' != h[0] ) || ('T' != h[1]) || ('T' != h[2]) || ('P' != h[3]) || 3155 ('H' != h[0]) || ('T' != h[1]) || ('T' != h[2]) || ('P' != h[3]) ||
3156 ('/' != h[4]) 3156 ('/' != h[4])
3157 || ('.' != h[6]) || 3157 || ('.' != h[6]) ||
3158 (('0' > h[5]) || ('9' < h[5])) || 3158 (('0' > h[5]) || ('9' < h[5])) ||