projects
/
apps
/
madmutt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71c287c
)
fix regression in mutt_is_application_pgp \o/
author
Pierre Habouzit
<madcoder@debian.org>
Sun, 19 Nov 2006 16:06:30 +0000
(17:06 +0100)
committer
Pierre Habouzit
<madcoder@debian.org>
Sun, 19 Nov 2006 16:06:30 +0000
(17:06 +0100)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
lib-mime/crypt.c
patch
|
blob
|
history
diff --git
a/lib-mime/crypt.c
b/lib-mime/crypt.c
index
16cbebd
..
0755b32
100644
(file)
--- a/
lib-mime/crypt.c
+++ b/
lib-mime/crypt.c
@@
-85,11
+85,10
@@
int mutt_is_application_pgp (BODY * m)
int subtype = mime_which_token(m->subtype, -1);
if (m->type == TYPEAPPLICATION) {
- if (subtype
!= MIME_PGP || subtype !
= MIME_X_PGP_MESSAGE) {
+ if (subtype
== MIME_PGP || subtype =
= MIME_X_PGP_MESSAGE) {
int tok;
tok = mime_which_token(parameter_getval(m->parameter, "x-action"), -1);
-
if (tok == MIME_SIGN || tok == MIME_SIGNCLEAR)
t |= PGPSIGN;