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
995ec13
..
1e1d2b5
100644
(file)
--- a/
pgp.c
+++ b/
pgp.c
@@
-26,6
+26,7
@@
#include "pgp.h"
#include "mime.h"
#include "copy.h"
#include "pgp.h"
#include "mime.h"
#include "copy.h"
+#include "attach.h"
#include "lib/mem.h"
#include "lib/intl.h"
#include "lib/mem.h"
#include "lib/intl.h"
@@
-361,14
+362,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