projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
pgpkey.c
diff --git
a/pgpkey.c
b/pgpkey.c
index
8e8f253
..
5e5172d
100644
(file)
--- a/
pgpkey.c
+++ b/
pgpkey.c
@@
-518,13
+518,13
@@
static pgp_key_t pgp_select_key (pgp_key_t keys, ADDRESS * p, const char *s)
mutt_mktemp (tempfile);
if ((devnull = fopen ("/dev/null", "w")) == NULL) { /* __FOPEN_CHECKED__ */
mutt_mktemp (tempfile);
if ((devnull = fopen ("/dev/null", "w")) == NULL) { /* __FOPEN_CHECKED__ */
- mutt_perror
_("Can't open /dev/null"
);
+ mutt_perror
(_("Can't open /dev/null")
);
break;
}
if ((fp = safe_fopen (tempfile, "w")) == NULL) {
fclose (devnull);
break;
}
if ((fp = safe_fopen (tempfile, "w")) == NULL) {
fclose (devnull);
- mutt_perror
_("Can't create temporary file"
);
+ mutt_perror
(_("Can't create temporary file")
);
break;
}
break;
}
@@
-538,7
+538,7
@@
static pgp_key_t pgp_select_key (pgp_key_t keys, ADDRESS * p, const char *s)
if ((thepid = pgp_invoke_verify_key (NULL, NULL, NULL, -1,
fileno (fp), fileno (devnull),
tmpbuf)) == -1) {
if ((thepid = pgp_invoke_verify_key (NULL, NULL, NULL, -1,
fileno (fp), fileno (devnull),
tmpbuf)) == -1) {
- mutt_perror
_("Can't create filter"
);
+ mutt_perror
(_("Can't create filter")
);
unlink (tempfile);
fclose (fp);
unlink (tempfile);
fclose (fp);
@@
-703,13
+703,13
@@
BODY *pgp_make_key_attachment (char *tempf)
}
if ((tempfp = safe_fopen (tempf, tempf == tempfb ? "w" : "a")) == NULL) {
}
if ((tempfp = safe_fopen (tempf, tempf == tempfb ? "w" : "a")) == NULL) {
- mutt_perror
_("Can't create temporary file"
);
+ mutt_perror
(_("Can't create temporary file")
);
return NULL;
}
if ((devnull = fopen ("/dev/null", "w")) == NULL) { /* __FOPEN_CHECKED__ */
return NULL;
}
if ((devnull = fopen ("/dev/null", "w")) == NULL) { /* __FOPEN_CHECKED__ */
- mutt_perror
_("Can't open /dev/null"
);
+ mutt_perror
(_("Can't open /dev/null")
);
fclose (tempfp);
if (tempf == tempfb)
fclose (tempfp);
if (tempf == tempfb)
@@
-723,7
+723,7
@@
BODY *pgp_make_key_attachment (char *tempf)
if ((thepid =
pgp_invoke_export (NULL, NULL, NULL, -1,
fileno (tempfp), fileno (devnull), tmp)) == -1) {
if ((thepid =
pgp_invoke_export (NULL, NULL, NULL, -1,
fileno (tempfp), fileno (devnull), tmp)) == -1) {
- mutt_perror
_("Can't create filter"
);
+ mutt_perror
(_("Can't create filter")
);
unlink (tempf);
fclose (tempfp);
unlink (tempf);
fclose (tempfp);