]> git.marmaro.de Git - mmh/commitdiff
Accept header lines of exactly 998 characters
authorVasilii Kolobkov <polezaivsani@ko5v.net>
Wed, 11 Jul 2018 11:21:16 +0000 (13:21 +0200)
committermarkus schnalke <meillo@marmaro.de>
Sun, 15 Jul 2018 10:21:13 +0000 (12:21 +0200)
sbr/m_getfld2.c

index 956a5565485ac54f6ed521db538741076a232e57..954ed331cef3e8c4811e8874051ea4bfde3b7d0e 100644 (file)
@@ -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;
                        }