X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/42b603c9f3272ec6f1f1bd6d098f271d498fb9d0..baecaa2380db6164c1992fdffccca8ea9a61d5ba:/uip/mhbuildsbr.c diff --git a/uip/mhbuildsbr.c b/uip/mhbuildsbr.c index ff1bd3e9..b9989934 100644 --- a/uip/mhbuildsbr.c +++ b/uip/mhbuildsbr.c @@ -17,7 +17,6 @@ #include #include -#include #include #include #include @@ -2221,6 +2220,7 @@ expand_pseudoheader (CT ct, CT *text_plain_ct, struct multipart *m, struct str2init *s2i; CT reply_ct; struct part *part; + int status; type_p = getcpy (type); if ((subtype_p = strchr (type_p, '/'))) { @@ -2247,7 +2247,9 @@ expand_pseudoheader (CT ct, CT *text_plain_ct, struct multipart *m, /* Convert here . . . */ ct->c_storeproc = getcpy (convert_command); ct->c_umask = ~m_gmprot (); - if (show_content_aux (ct, 0, convert_command, NULL, NULL) == NOTOK) { + + if ((status = show_content_aux (ct, 0, convert_command, NULL, NULL)) != + OK) { admonish (NULL, "store of %s content failed", type); } free (convert_command);