[balsa/gmime3: 32/54] g_mime_utils_header_encode_text()



commit eae668b2df23264b50b382a097a52208980b0dbc
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 e96bb1c52..c0c7c7962 100644
--- a/libbalsa/message.c
+++ b/libbalsa/message.c
@@ -1234,7 +1234,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]