diff options
author | Kevin McCarthy <kevin@8t8.us> | 2022-01-10 17:53:09 -0800 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2022-01-13 14:11:49 -0800 |
commit | 4eff60496b87cbd09e1539525219885aa07bd945 (patch) | |
tree | 1fd324015bbfb966c6cce0e12bd014f8e5b28ab1 /init.c | |
parent | 9c1ce59874ce1c8e97d0c5bd71847596dafb1d50 (diff) |
Force resort_init if $reply_regexp changes.
Simply changing real_subj isn't enough to make sure the change is
reflected in the current index. There may actually be a more subtle
way to achieve this, but for now I'll just dump the subj_hash and
force rethreading.
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2585,6 +2585,7 @@ static int parse_set (BUFFER *tmp, BUFFER *s, union pointer_long_t udata, BUFFER regmatch_t pmatch[1]; int i; + hash_destroy (&Context->subj_hash, NULL); for (i = 0; i < Context->msgcount; i++) { ENVELOPE *cur_env = Context->hdrs[i]->env; |