X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhparse.c;h=f4c26cc844c3458afab4250e466651b110ea6c5f;hb=bb2dc190d836a871640e68feee28b290e554390d;hp=dc8e380bf38fbad4c7531de3b15ffdef48c2d485;hpb=2433122c20baccb10b70b49c04c6b0497b5b3b60;p=mmh diff --git a/uip/mhparse.c b/uip/mhparse.c index dc8e380..f4c26cc 100644 --- a/uip/mhparse.c +++ b/uip/mhparse.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include @@ -137,7 +136,7 @@ pidcheck(int status) fflush(stdout); fflush(stderr); - done(1); + exit(1); return 1; } @@ -1536,7 +1535,7 @@ openBase64(CT ct, char **file) cp = context_find(buffer); if (cp == NULL || *cp == '\0') { snprintf(buffer, sizeof(buffer), "%s-suffix-%s", invo_name, - ci->ci_type); + ci->ci_type); cp = context_find(buffer); } if (cp != NULL && *cp != '\0') { @@ -1752,8 +1751,10 @@ openQuoted(CT ct, char **file) } if (cp != NULL && *cp != '\0') { if (ce->ce_unlink) { - // Temporary file already exists, so we rename to - // version with extension. + /* + ** Temporary file already exists, so we rename to + ** version with extension. + */ char *file_org = strdup(ce->ce_file); ce->ce_file = add(cp, ce->ce_file); if (rename(file_org, ce->ce_file)) { @@ -1962,7 +1963,7 @@ open7Bit(CT ct, char **file) cp = context_find(buffer); if (cp == NULL || *cp == '\0') { snprintf(buffer, sizeof(buffer), "%s-suffix-%s", invo_name, - ci->ci_type); + ci->ci_type); cp = context_find(buffer); } if (cp != NULL && *cp != '\0') {