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]
/
pgp.c
diff --git
a/pgp.c
b/pgp.c
index
7fdd5e9
..
a19c490
100644
(file)
--- a/
pgp.c
+++ b/
pgp.c
@@
-22,6
+22,9
@@
#endif
#include "mutt.h"
#endif
#include "mutt.h"
+#include "enter.h"
+#include "ascii.h"
+#include "handler.h"
#include "mutt_curses.h"
#include "pgp.h"
#include "mime.h"
#include "mutt_curses.h"
#include "pgp.h"
#include "mime.h"
@@
-362,14
+365,13
@@
void pgp_application_pgp_handler (BODY * m, STATE * s)
state_attach_puts (_("[-- End of PGP output --]\n\n"), s);
}
}
state_attach_puts (_("[-- End of PGP output --]\n\n"), s);
}
}
- }
- /* treat empty result as sign of failure */
- if (pgpout !=NULL)
- if (! ftell(pgpout)) {
- mutt_error _("Could not decrypt PGP message");
- goto out;
+ /* treat empty result as sign of failure */
+ if (!(pgpout && ftell (pgpout))) {
+ mutt_error _("Could not decrypt PGP message");
+ goto out;
}
}
+ }
/*
* Now, copy cleartext to the screen. NOTE - we expect that PGP
/*
* Now, copy cleartext to the screen. NOTE - we expect that PGP