[balsa/gmime3: 28/49] g_mime_utils_header_encode_text()



commit fc7a6d7d0a81ec4b541ec935e3b34ca94111961a
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Fri Nov 22 14:45:25 2019 -0800

    g_mime_utils_header_encode_text()
    
    has a new format-options first argument, for which we pass NULL.
    
    modified:   libbalsa/message.c

 libbalsa/message.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libbalsa/message.c b/libbalsa/message.c
index 9303af74f..0e1ea38e6 100644
--- a/libbalsa/message.c
+++ b/libbalsa/message.c
@@ -1212,7 +1212,7 @@ lbmsg_set_header(LibBalsaMessage *message,
          * appropriate GMime decoder. */
         gchar *tmp = g_strdup(value);
         libbalsa_utf8_sanitize(&tmp, TRUE, NULL);
-        val = g_mime_utils_header_encode_text(tmp);
+        val = g_mime_utils_header_encode_text(NULL, tmp);
         g_free(tmp);
 #ifdef DEBUG
         g_print("%s: non-ascii “%s” header “%s” encoded as “%s”\n",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]