[Commits] [SCM] claws branch, master, updated. 4.2.0-84-g471fdc185

mones at claws-mail.org mones at claws-mail.org
Fri Apr 12 14:50:31 UTC 2024


The branch, master has been updated
       via  471fdc18503eb51ed0c4917ca20701e985e2953e (commit)
      from  b02b2726e3865c15953dbd8946d43443444ea3ef (commit)

Summary of changes:
 src/common/utils.h       | 3 +++
 src/compose.c            | 3 ---
 src/prefs_customheader.c | 2 --
 src/procmime.c           | 3 ---
 4 files changed, 3 insertions(+), 8 deletions(-)


- Log -----------------------------------------------------------------
commit 471fdc18503eb51ed0c4917ca20701e985e2953e
Author: Ricardo Mones <ricardo at mones.org>
Date:   Fri Apr 12 16:49:18 2024 +0200

    Refactor definition and remove unused defines

diff --git a/src/common/utils.h b/src/common/utils.h
index ab07def2e..e107805e3 100644
--- a/src/common/utils.h
+++ b/src/common/utils.h
@@ -54,6 +54,9 @@
   #define HOST_NAME_MAX 256
 #endif
 
+/* Handling Base64 content in procmime and prefs_customheader */
+#define B64_LINE_SIZE 57
+
 #ifdef G_OS_WIN32
 
 #define fsync _commit
diff --git a/src/compose.c b/src/compose.c
index 68b94bdf0..bf2a50a1c 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -188,9 +188,6 @@ typedef enum {
     NO_FIELD_PRESENT
 } MailField;
 
-#define B64_LINE_SIZE		57
-#define B64_BUFFSIZE		77
-
 #define MAX_REFERENCES_LEN	999
 
 #define COMPOSE_DRAFT_TIMEOUT_UNSET -1
diff --git a/src/prefs_customheader.c b/src/prefs_customheader.c
index c264d7843..9530eec7c 100644
--- a/src/prefs_customheader.c
+++ b/src/prefs_customheader.c
@@ -544,8 +544,6 @@ static void prefs_custom_header_list_view_set_row(PrefsAccount *ac)
 
 }
 
-#define B64_LINE_SIZE		57
-#define B64_BUFFSIZE		77
 static void prefs_custom_header_val_from_file_cb(void)
 {
 	gchar *filename = NULL;
diff --git a/src/procmime.c b/src/procmime.c
index 0a7cd9549..4baf65528 100644
--- a/src/procmime.c
+++ b/src/procmime.c
@@ -509,9 +509,6 @@ gboolean procmime_decode_content(MimeInfo *mimeinfo)
 	return TRUE;
 }
 
-#define B64_LINE_SIZE		57
-#define B64_BUFFSIZE		77
-
 gboolean procmime_encode_content(MimeInfo *mimeinfo, EncodingType encoding)
 {
 	FILE *infp = NULL, *outfp;

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list