[Commits] [SCM] claws branch, master, updated. 4.2.0-33-gac29c8c95

paul at claws-mail.org paul at claws-mail.org
Wed Jan 10 10:04:35 UTC 2024


The branch, master has been updated
       via  ac29c8c95855698e793581961635c28fbd849a12 (commit)
      from  133d759fe4ead4e6950d5f8e54415fdd1808a963 (commit)

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


- Log -----------------------------------------------------------------
commit ac29c8c95855698e793581961635c28fbd849a12
Author: Paul <paul at claws-mail.org>
Date:   Wed Jan 10 11:04:28 2024 +0100

    fix bug 4733, 'Line breaks lost in headers'

diff --git a/src/procheader.c b/src/procheader.c
index 05fbf2645..a1a0368a1 100644
--- a/src/procheader.c
+++ b/src/procheader.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2023 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2024 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
@@ -275,7 +275,7 @@ GPtrArray *procheader_get_header_array(FILE *fp)
 
 	headers = g_ptr_array_new();
 
-	while (procheader_get_one_field(&buf, fp, NULL) != -1) {
+	while (procheader_get_one_field_asis(&buf, fp) != -1) {
 		if ((header = procheader_parse_header(buf)) != NULL)
 			g_ptr_array_add(headers, header);
 		g_free(buf);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list