summaryrefslogtreecommitdiffstats
path: root/attach.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2000-02-10 19:46:06 +0000
committerThomas Roessler <roessler@does-not-exist.org>2000-02-10 19:46:06 +0000
commitfb9eb06e28e5da139df43c818f3f428c8f1283f9 (patch)
tree4c1b357c1d24418eec5a79a0d05cfe90e97d2cdb /attach.c
parent31fdef161d3e6dbfa90206b9abad209801c34fb5 (diff)
PGP-cleanup patch from Roland Rosenfeld. Thanks!
Diffstat (limited to 'attach.c')
-rw-r--r--attach.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/attach.c b/attach.c
index 2e095729..fff84944 100644
--- a/attach.c
+++ b/attach.c
@@ -28,7 +28,7 @@
#include "copy.h"
#include "mx.h"
-#ifdef _PGPPATH
+#ifdef HAVE_PGP
#include "pgp.h"
#endif
@@ -377,10 +377,10 @@ int mutt_view_attachment (FILE *fp, BODY *a, int flag, HEADER *hdr,
int unlink_tempfile = 0;
is_message = mutt_is_message_type(a->type, a->subtype);
-#ifdef _PGPPATH
+#ifdef HAVE_PGP
if (is_message && a->hdr && (a->hdr->pgp & PGPENCRYPT) && !pgp_valid_passphrase())
return (rc);
-#endif /* _PGPPATH */
+#endif /* HAVE_PGP */
use_mailcap = (flag == M_MAILCAP ||
(flag == M_REGULAR && mutt_needs_mailcap (a)));
snprintf (type, sizeof (type), "%s/%s", TYPE (a), a->subtype);