[Commits] [SCM] claws branch, gtk2, updated. 3.19.1-71-g5eb3ce82f
wwp at claws-mail.org
wwp at claws-mail.org
Thu Sep 21 12:42:55 UTC 2023
The branch, gtk2 has been updated
via 5eb3ce82fb318269508616ff9ce7e12c4c4d2c11 (commit)
from 3254def958e43e02f586ef663c09471171776d05 (commit)
Summary of changes:
src/matcher.c | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
- Log -----------------------------------------------------------------
commit 5eb3ce82fb318269508616ff9ce7e12c4c4d2c11
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 f63bcb02c..fccf954cf 100644
--- a/src/matcher.c
+++ b/src/matcher.c
@@ -1,6 +1,6 @@
/*
- * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 2002-2014 by the Claws Mail Team and Hiroyuki Yamamoto
+ * Claws Mail -- a GTK based, lightweight, and fast e-mail client
+ * 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