diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2002-02-05 21:30:31 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2002-02-05 21:30:31 +0000 |
commit | 0f408e23c9cec7051981047e02222961a2f983f0 (patch) | |
tree | 9de77aea30e24ee9d5aaa38c5e5068479e4f3855 /hook.c | |
parent | 2f84e44be5fd556c6582460a45dbb487b1198242 (diff) |
Fix crypt-hook. From Dale Woolridge
<dale-list-mutt-dev@woolridge.org>.
Diffstat (limited to 'hook.c')
-rw-r--r-- | hook.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |