X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=hook.c;h=836a882486fc599d58223d704853bd5f06cac1f7;hb=3cb53df6efcb6b137bbab53c16da4eddbc5a1b2b;hp=afa528d5ba7d8ada433dad9cecc3f22e96cc28ea;hpb=df7c0ef298343ef5523ad0be5af9fd629f901738;p=apps%2Fmadmutt.git diff --git a/hook.c b/hook.c index afa528d..836a882 100644 --- a/hook.c +++ b/hook.c @@ -20,10 +20,7 @@ #include "mutt.h" #include "mx.h" #include "mutt_crypt.h" - -#ifdef USE_COMPRESSED #include "compress.h" -#endif #include "lib/rx.h" @@ -94,14 +91,12 @@ int mutt_parse_hook (BUFFER * buf __attribute__ ((unused)), BUFFER * s, unsigned p_clear(&pattern, 1); pattern.data = m_strdup(path); } -#ifdef USE_COMPRESSED else if (data & (M_APPENDHOOK | M_OPENHOOK | M_CLOSEHOOK)) { if (mutt_test_compress_command (command.data)) { m_strcpy(err->data, err->dsize, _("bad formatted command string")); return (-1); } } -#endif else if (DefaultHook && !(data & (M_CHARSETHOOK | M_ACCOUNTHOOK)) && !(data & M_CRYPTHOOK)) {