From 439c0aa8fdbcba3dd6aba558df13f6c115077e7f Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Fri, 10 Jan 2014 13:31:05 -0500 Subject: [PATCH] Don't error out if the message body is empty. --- uip/mhbuildsbr.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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: -- 2.56.0