aboutsummaryrefslogtreecommitdiffstats
path: root/src/types/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/types/message.c')
-rw-r--r--src/types/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types/message.c b/src/types/message.c
index e7c844d..b0a6469 100644
--- a/src/types/message.c
+++ b/src/types/message.c
@@ -332,7 +332,7 @@ static int validate_header(const char* restrict header, size_t length)
{
char* restrict p = memchr(header, ':', length * sizeof(char));
- if (verify_utf8(header, 0) < 0)
+ if (verify_utf8(header) < 0)
/* Either the string is not UTF-8, or your are under an UTF-8 attack,
let's just call this unrecoverable because the client will not correct. */
return -2;