[Commits] [SCM] claws branch, master, updated. 4.1.1-87-g5d259b6d5
wwp at claws-mail.org
wwp at claws-mail.org
Thu Sep 21 12:41:41 UTC 2023
The branch, master has been updated
via 5d259b6d5ab23c532be6160d151b6fb5e3bf510b (commit)
from 3ad43ddd0d3325f2e3d6d4a4dbd6492a6b103a27 (commit)
Summary of changes:
src/matcher.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
- Log -----------------------------------------------------------------
commit 5d259b6d5ab23c532be6160d151b6fb5e3bf510b
Author: wwp <subscript at free.fr>
Date: Thu Sep 21 14:41:39 2023 +0200
fix using a custom header in found_in_addressbook match expressions
diff --git a/src/matcher.c b/src/matcher.c
index 658c08a0c..fccf954cf 100644
--- a/src/matcher.c
+++ b/src/matcher.c
@@ -1,6 +1,6 @@
/*
* Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 2002-2014 by the Claws Mail Team and Hiroyuki Yamamoto
+ * Copyright (C) 2002-2023 by the Claws Mail Team and Hiroyuki Yamamoto
*
* 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
@@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
*/
#ifdef HAVE_CONFIG_H
@@ -1548,10 +1547,10 @@ static gboolean matcherlist_match_headers(MatcherList *matchers, FILE *fp)
else
match = MATCH_ONE;
} else {
- /* further call to matcherprop_match_one_header() can't match
- and it irrelevant, so: don't alter the match result */
- procheader_header_free(header);
- continue;
+ if (!header)
+ continue;
+ /* matching one address header exactly, is that the right one?
+ further call to matcherprop_match_one_header() will tell us */
}
procheader_header_free(header);
}
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list