From bc45345ba77e08ee3dc159ba0e04bc654f191cd3 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 25 Nov 2006 18:19:01 +0100 Subject: [PATCH] Use bette error msg too Signed-off-by: Julien Danjou Signed-off-by: Pierre Habouzit --- lib-crypt/pgp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib-crypt/pgp.c b/lib-crypt/pgp.c index 94bf553..d0104a7 100644 --- a/lib-crypt/pgp.c +++ b/lib-crypt/pgp.c @@ -595,7 +595,7 @@ static void pgp_extract_keys_from_attachment (FILE * fp, BODY * top) tempfp = m_tempfile(tempfname, sizeof(tempfname), NONULL(Tempdir), NULL); if (tempfp == NULL) { - mutt_perror (tempfname); + mutt_perror (_("Can't create temporary file")); return; } @@ -758,7 +758,7 @@ int pgp_decrypt_mime (FILE * fpin, FILE ** fpout, BODY * b, BODY ** cur) s.fpin = fpin; *fpout = m_tempfile(tempfile, sizeof(tempfile), NONULL(Tempdir), NULL); if (*fpout == NULL) { - mutt_perror (tempfile); + mutt_perror (_("Can't create temporary file")); return (-1); } unlink (tempfile); @@ -1115,7 +1115,7 @@ BODY *pgp_encrypt_message (BODY * a, char *keylist, int sign) fpout = m_tempfile(tempfile, sizeof(tempfile), NONULL(Tempdir), NULL); if (fpout == NULL) { - mutt_perror (tempfile); + mutt_perror (_("Can't create temporary file")); return (NULL); } -- 2.20.1