summaryrefslogtreecommitdiffstats
path: root/hook.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2002-02-05 21:30:31 +0000
committerThomas Roessler <roessler@does-not-exist.org>2002-02-05 21:30:31 +0000
commit0f408e23c9cec7051981047e02222961a2f983f0 (patch)
tree9de77aea30e24ee9d5aaa38c5e5068479e4f3855 /hook.c
parent2f84e44be5fd556c6582460a45dbb487b1198242 (diff)
Fix crypt-hook. From Dale Woolridge
<dale-list-mutt-dev@woolridge.org>.
Diffstat (limited to 'hook.c')
-rw-r--r--hook.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hook.c b/hook.c
index 9ac9c9b2..e31b3c09 100644
--- a/hook.c
+++ b/hook.c
@@ -157,11 +157,11 @@ int mutt_parse_hook (BUFFER *buf, BUFFER *s, unsigned long data, BUFFER *err)
else
{
rx = safe_malloc (sizeof (regex_t));
-#ifdef M_PGPHOOK
- if ((rc = REGCOMP (rx, NONULL(pattern.data), ((data & (M_PGPHOOK|M_CHARSETHOOK)) ? REG_ICASE : 0))) != 0)
+#ifdef M_CRYPTHOOK
+ if ((rc = REGCOMP (rx, NONULL(pattern.data), ((data & (M_CRYPTHOOK|M_CHARSETHOOK)) ? REG_ICASE : 0))) != 0)
#else
if ((rc = REGCOMP (rx, NONULL(pattern.data), (data & (M_CHARSETHOOK|M_ICONVHOOK)) ? REG_ICASE : 0)) != 0)
-#endif /* HAVE_PGP */
+#endif /* M_CRYPTHOOK */
{
regerror (rc, rx, err->data, err->dsize);
regfree (rx);