[balsa/gmime3: 29/50] g_mime_utils_header_encode_text()



commit 218bf6ed59c33a3de6f6e4c2aead04b1d95ec21d
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]