From 3bea52e9b3eb7c82ee1e6d5368bfb547a89cdb32 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 25 Nov 2006 18:19:00 +0100 Subject: [PATCH] Replace mutt_perror with good error msgs Signed-off-by: Julien Danjou Signed-off-by: Pierre Habouzit --- lib-crypt/smime.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib-crypt/smime.c b/lib-crypt/smime.c index f5700a2..218b442 100644 --- a/lib-crypt/smime.c +++ b/lib-crypt/smime.c @@ -1087,7 +1087,7 @@ int smime_verify_sender (HEADER * h) fpout = m_tempfile (tempfname, sizeof(tempfname), NONULL(Tempdir), NULL); if (!fpout) { - mutt_perror (tempfname); + mutt_perror (_("Can't create temporary file")); return 1; } @@ -1187,7 +1187,7 @@ BODY *smime_build_smime_entity (BODY * a, char *certlist) fpout = m_tempfile (tempfile, sizeof(tempfile), NONULL(Tempdir), NULL); if (!fpout) { - mutt_perror (tempfile); + mutt_perror (_("Can't create temporary file")); return NULL; } @@ -1769,7 +1769,7 @@ int smime_decrypt_mime (FILE * fpin, FILE ** fpout, BODY * b, BODY ** cur) tmpfp = m_tempfile (tempfile, sizeof(tempfile), NONULL(Tempdir), NULL); if (!tmpfp) { - mutt_perror (tempfile); + mutt_perror (_("Can't create temporary file")); return (-1); } @@ -1785,7 +1785,7 @@ int smime_decrypt_mime (FILE * fpin, FILE ** fpout, BODY * b, BODY ** cur) *fpout = m_tempfile (tempfile, sizeof(tempfile), NONULL(Tempdir), NULL); if (!*fpout) { - mutt_perror (tempfile); + mutt_perror (_("Can't create temporary file")); rv = -1; goto bail; } -- 2.20.1