From 3fb238bec424fbc43ebe3a50eca3c84ea7bedf6a Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 25 Nov 2006 18:19:02 +0100 Subject: [PATCH] Better error msg in gpgme Signed-off-by: Julien Danjou Signed-off-by: Pierre Habouzit --- lib-crypt/crypt-gpgme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-crypt/crypt-gpgme.c b/lib-crypt/crypt-gpgme.c index 29a676e..6050418 100644 --- a/lib-crypt/crypt-gpgme.c +++ b/lib-crypt/crypt-gpgme.c @@ -467,7 +467,7 @@ static char *data_object_to_tempfile (gpgme_data_t data, FILE ** ret_fp) while ((nread = gpgme_data_read (data, buf, sizeof (buf)))) { if (fwrite (buf, nread, 1, fp) != 1) { - mutt_perror (tempfile); + mutt_perror (_("Can't create temporary file")); m_fclose(&fp); unlink (tempfile); return NULL; -- 2.20.1