From: Ken Hornstein Date: Fri, 10 Jan 2014 18:31:05 +0000 (-0500) Subject: Don't error out if the message body is empty. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/439c0aa8fdbcba3dd6aba558df13f6c115077e7f?ds=sidebyside;hp=3c0c7703cd4267119943391e31aa3b7e9d708fa7 Don't error out if the message body is empty. --- diff --git a/uip/mhbuildsbr.c b/uip/mhbuildsbr.c index d96e0d54..53c06e95 100644 --- a/uip/mhbuildsbr.c +++ b/uip/mhbuildsbr.c @@ -248,12 +248,10 @@ finish_field: /* if this wasn't the last header field, then continue */ continue; - case FILEEOF: - adios (NULL, "draft has empty body -- no directives!"); - /* NOTREACHED */ - case BODY: fseek (in, (long) (-strlen (buf)), SEEK_CUR); + /* fall through */ + case FILEEOF: break; case LENERR: