[balsa/gmime3: 36/56] New API for g_mime_utils_header_encode_text()



commit 09fa20a7254489925c5cef68f4b7afd489d586ea
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]