]> diplodocus.org Git - nmh/commitdiff
Don't error out if the message body is empty.
authorKen Hornstein <kenh@pobox.com>
Fri, 10 Jan 2014 18:31:05 +0000 (13:31 -0500)
committerKen Hornstein <kenh@pobox.com>
Sat, 11 Jan 2014 05:33:20 +0000 (00:33 -0500)
uip/mhbuildsbr.c

index d96e0d540293f450b1e05ca5a7c65d5e454ccfdf..53c06e956accef467846d3e308508e8769aff77b 100644 (file)
@@ -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: