]> diplodocus.org Git - nmh/commitdiff
Don't consider failure to build a text/plain part to be an error.
authorDavid Levine <levinedl@acm.org>
Sun, 21 Feb 2016 16:22:53 +0000 (11:22 -0500)
committerDavid Levine <levinedl@acm.org>
Sun, 21 Feb 2016 16:22:53 +0000 (11:22 -0500)
This allows mhfixmsg to succeed even if there isn't a suitable
mhfixmsg-format-text/subtype profile entry for every text part in
the message.

uip/mhfixmsg.c

index f9f001b..a5a24b9 100644 (file)
@@ -1349,7 +1349,7 @@ insert_into_new_mp_alt (CT *ct, int *message_mods) {
             status = NOTOK;
         }
     } else {
-        status = NOTOK;
+        /* Not an error if text/plain couldn't be built. */
     }
 
     return status;