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



commit f3cc9d66497ab5065c5561fd8e935d0d87001775
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 20ce4df1a..b65b41f58 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]