From: Vasilii Kolobkov Date: Wed, 11 Jul 2018 11:21:16 +0000 (+0200) Subject: Accept header lines of exactly 998 characters X-Git-Tag: mmh-0.4~30 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=4f230b2e91103abc77dcc41c46a59ba2041a2248;p=mmh Accept header lines of exactly 998 characters --- diff --git a/sbr/m_getfld2.c b/sbr/m_getfld2.c index 956a556..954ed33 100644 --- a/sbr/m_getfld2.c +++ b/sbr/m_getfld2.c @@ -62,7 +62,7 @@ m_getfld2(enum state s, struct field *f, FILE *msg) } } - if (nchars >= NAMESZ) { + if (nchars > NAMESZ) { ret = LENERR2; } @@ -103,7 +103,7 @@ m_getfld2(enum state s, struct field *f, FILE *msg) return IOERR2; } - if (nchars >= NAMESZ) { + if (nchars > NAMESZ) { ret = LENERR2; }