On 1999-05-29 09:39:45 +0200, Thomas Roessler wrote: > Using ~b, ~h, or ~B in an fcc or fcc-save-hook will crash any > current mutt. Not completely correct. It's only in an fcc-save-hook.
--- .bak/hook.c Thu May 27 13:10:46 1999 +++ hook.c Sat May 29 10:14:08 1999 @@ -1,5 +1,5 @@ /* - * Copyright (C) 1996-8 Michael R. Elkins <[EMAIL PROTECTED]> + * Copyright (C) 1996-9 Michael R. Elkins <[EMAIL PROTECTED]>, and others * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -146,7 +146,7 @@ if (data & (M_SENDHOOK | M_SAVEHOOK | M_FCCHOOK)) { - if ((pat = mutt_pattern_comp (pattern.data, (data & M_SAVEHOOK) ? M_FULL_MSG : 0, err)) == NULL) + if ((pat = mutt_pattern_comp (pattern.data, (data & (M_SENDHOOK | M_FCCHOOK)) ? 0 +: M_FULL_MSG, err)) == NULL) goto error; } else