projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
m_strisempty is better, isn't it ?
[apps/madmutt.git]
/
lib-crypt
/
pgp.c
diff --git
a/lib-crypt/pgp.c
b/lib-crypt/pgp.c
index
94bf553
..
d0104a7
100644
(file)
--- 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) {
tempfp = m_tempfile(tempfname, sizeof(tempfname), NONULL(Tempdir), NULL);
if (tempfp == NULL) {
- mutt_perror (
tempfname
);
+ mutt_perror (
_("Can't create temporary file")
);
return;
}
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) {
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);
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) {
fpout = m_tempfile(tempfile, sizeof(tempfile), NONULL(Tempdir), NULL);
if (fpout == NULL) {
- mutt_perror (
tempfile
);
+ mutt_perror (
_("Can't create temporary file")
);
return (NULL);
}
return (NULL);
}