[Commits] [SCM] claws branch, gtk2, updated. 3.20.0-82-gc51a9d88e

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


The branch, gtk2 has been updated
       via  c51a9d88e8320430392d9a45aba31e103bcae039 (commit)
      from  7ea21d6456ce9e3b59d4178a1adcbbe1d26b17e7 (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 c51a9d88e8320430392d9a45aba31e103bcae039
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 3682e6118..6594292c8 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 a67a6c117..77edb3e7b 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -185,9 +185,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 e20f45b00..1a12b7086 100644
--- a/src/prefs_customheader.c
+++ b/src/prefs_customheader.c
@@ -554,8 +554,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 75d14fe91..481f45296 100644
--- a/src/procmime.c
+++ b/src/procmime.c
@@ -507,9 +507,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