[Commits] [SCM] claws branch, gtk2, updated. 3.20.0-32-g39553c540

paul at claws-mail.org paul at claws-mail.org
Wed Jan 10 10:06:31 UTC 2024


The branch, gtk2 has been updated
       via  39553c54008e719c23bafcf0fd5ffe74265c4d4f (commit)
      from  e8880c469c51cf386e29efe79f54d8a07fd6161f (commit)

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


- Log -----------------------------------------------------------------
commit 39553c54008e719c23bafcf0fd5ffe74265c4d4f
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