From d76e2362d85444ac8f7c5cc3f9a25f067b586c3f Mon Sep 17 00:00:00 2001 From: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com> Date: Sun, 30 Oct 2022 21:17:43 +0100 Subject: [PATCH] Make that correctilier --- src/HttpParser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HttpParser.h b/src/HttpParser.h index 29adc91..74d4aec 100644 --- a/src/HttpParser.h +++ b/src/HttpParser.h @@ -239,7 +239,7 @@ private: * Field values containing other CTL characters are also invalid. */ static inline void *tryConsumeFieldValue(char *p) { for (; true; p += 8) { - if (hasLess(*(uint64_t *)p, 32) { + if (hasLess(*(uint64_t *)p, 32)) { while (*(unsigned char *)p > 31) p++; return (void *)p; }