case LENERR2:
case FMTERR2:
- case ERR2:
+ case IOERR2:
advise(NULL, "Please re-edit draft and fix that header.");
leave_bad: ;
fclose(ifp);
return NOTOK;
}
unlink(tmpfil);
- fprintf(ofp, "\n%s", f.value);
+ fputs("\n", ofp);
while (state == BODY2) {
- state = m_getfld2(state, &f, ifp);
fputs(f.value, ofp);
+ state = m_getfld2(state, &f, ifp);
}
/* FALL */
case LENERR2:
case FMTERR2:
- case ERR2:
+ case IOERR2:
advise(NULL, "format error in message %s", msgnam);
return NOTOK;