[Commits] [SCM] claws branch, master, updated. 3.14.1-138-g18227b9

wwp at claws-mail.org wwp at claws-mail.org
Mon Jan 16 12:58:37 CET 2017


The branch, master has been updated
       via  18227b9fc9164e9dd730a94c70095f70855cf9e3 (commit)
      from  4850949dad9b8d7c7628da69ad45a87fcb066067 (commit)

Summary of changes:
 src/matcher.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


- Log -----------------------------------------------------------------
commit 18227b9fc9164e9dd730a94c70095f70855cf9e3
Author: wwp <wwp at free.fr>
Date:   Mon Jan 16 12:57:36 2017 +0100

    Fix g4850949 (use correct API calls).

diff --git a/src/matcher.c b/src/matcher.c
index a423fab..64000e1 100644
--- a/src/matcher.c
+++ b/src/matcher.c
@@ -1368,15 +1368,15 @@ static gboolean matcherprop_match_one_header(MatcherProp *matcher,
 				header = procheader_parse_header(buf);
 				if (!header ||
 						!procheader_headername_equal(header->name, matcher->header)) {
-					procheader_free_header(header);
+					procheader_header_free(header);
 					return FALSE;
 				}
 				address_list = address_list_append(address_list, header->body);
 				if (address_list == NULL) {
-					procheader_free_header(header);
+					procheader_header_free(header);
 					return FALSE;
 				}
-				procheader_free_header(header);
+				procheader_header_free(header);
 
 			} else {
 				header = procheader_parse_header(buf);
@@ -1390,7 +1390,7 @@ static gboolean matcherprop_match_one_header(MatcherProp *matcher,
 					 procheader_headername_equal(header->name, "Reply-To") ||
 					 procheader_headername_equal(header->name, "Sender"))
 					address_list = address_list_append(address_list, header->body);
-				procheader_free_header(header);
+				procheader_header_free(header);
 				if (address_list == NULL)
 					return FALSE;
 			}

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list