}
/* otherwise inline won't work...ask for revert */
- if ((i =
- query_quadoption (OPT_PGPMIMEAUTO,
- _
- ("Message can't be sent inline. Revert to using PGP/MIME?")))
+ if ((i = query_quadoption(OPT_PGPMIMEAUTO,
+ _("Message can't be sent inline. Revert to using PGP/MIME?")))
!= M_YES) {
mutt_error _("Mail not sent.");
fputc (c, fp);
}
- fclose (fp);
return 0;
}
if (sigcnt) {
tempfp = m_tempfile(tempfile, sizeof(tempfile), NONULL(Tempdir), NULL);
if (!tempfp) {
- mutt_perror (tempfile);
- }
- else {
+ mutt_error(_("Could not create temporary file"));
+ } else {
if (crypt_write_signed (a, s, tempfp) == 0) {
for (i = 0; i < sigcnt; i++) {
if (signatures[i]->type == TYPEAPPLICATION
TYPE (signatures[i]), signatures[i]->subtype);
}
}
+ m_fclose(&tempfp);
}
mutt_unlink (tempfile);