[balsa/gmime3: 29/49] New API for g_mime_utils_header_encode_text()



commit b5f46d28774e1c40ea70b6bf6cd825f9a487d618
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Fri Nov 22 14:48:36 2019 -0800

    New API for g_mime_utils_header_encode_text()
    
    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 b65b41f58..315d68255 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(NULL, tmp);
+        val = g_mime_utils_header_encode_text(NULL, tmp, NULL);
         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]