aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-09-27 17:27:40 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-09-27 17:27:40 +0300
commitdd5b0d6407661442a64461f032871da7c8bdcd1b (patch)
treed64c9423264e4ed0883ad0a0c4fc513c33607784
parent3a7126a3e25132dc01d238acb411fe7b77205929 (diff)
downloadlibmicrohttpd-dd5b0d6407661442a64461f032871da7c8bdcd1b.tar.gz
libmicrohttpd-dd5b0d6407661442a64461f032871da7c8bdcd1b.zip
connection.c: fixed typo in comment
-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 e894fe24..1dca8f94 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -3155,7 +3155,7 @@ parse_http_version (struct MHD_Connection *connection,
3155 const char *const h = http_string; /**< short alias */ 3155 const char *const h = http_string; /**< short alias */
3156 mhd_assert (NULL != http_string); 3156 mhd_assert (NULL != http_string);
3157 3157
3158 /* String must starts with 'HTTP/d.d', case-sensetive match. 3158 /* String must start with 'HTTP/d.d', case-sensetive match.
3159 * See https://datatracker.ietf.org/doc/html/rfc7230#section-2.6 */ 3159 * See https://datatracker.ietf.org/doc/html/rfc7230#section-2.6 */
3160 if ((len != 8) || 3160 if ((len != 8) ||
3161 (h[0] != 'H') || (h[1] != 'T') || (h[2] != 'T') || (h[3] != 'P') || 3161 (h[0] != 'H') || (h[1] != 'T') || (h[2] != 'T') || (h[3] != 'P') ||