[balsa/gmime3: 65/72] Fix some porting to g_mime_filter_dos2unix_new()
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gmime3: 65/72] Fix some porting to g_mime_filter_dos2unix_new()
- Date: Sun, 19 Jan 2020 16:03:23 +0000 (UTC)
commit f77ef4e6d563e5f380f99f41c03ee8bde2806b9e
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Sun Nov 24 20:25:05 2019 -0500
Fix some porting to g_mime_filter_dos2unix_new()
from g_mime_filter_crlf_new().
modified: libbalsa/gmime-application-pkcs7.c
modified: libbalsa/gmime-multipart-crypt.c
modified: libbalsa/mailbox_imap.c
libbalsa/gmime-application-pkcs7.c | 2 +-
libbalsa/gmime-multipart-crypt.c | 6 +++---
libbalsa/mailbox_imap.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libbalsa/gmime-application-pkcs7.c b/libbalsa/gmime-application-pkcs7.c
index 48add9396..61648984f 100644
--- a/libbalsa/gmime-application-pkcs7.c
+++ b/libbalsa/gmime-application-pkcs7.c
@@ -148,7 +148,7 @@ g_mime_application_pkcs7_encrypt(GMimePart * pkcs7, GMimeObject * content,
stream = g_mime_stream_mem_new();
filtered_stream = g_mime_stream_filter_new(stream);
- crlf_filter = g_mime_filter_dos2unix_new(FALSE);
+ crlf_filter = g_mime_filter_dos2unix_new(TRUE);
g_mime_stream_filter_add(GMIME_STREAM_FILTER(filtered_stream),
crlf_filter);
g_object_unref(crlf_filter);
diff --git a/libbalsa/gmime-multipart-crypt.c b/libbalsa/gmime-multipart-crypt.c
index 1528c951a..7526eee54 100644
--- a/libbalsa/gmime-multipart-crypt.c
+++ b/libbalsa/gmime-multipart-crypt.c
@@ -133,7 +133,7 @@ g_mime_gpgme_mps_sign(GMimeMultipartSigned * mps, GMimeObject * content,
/* Note: see rfc2015 or rfc3156, section 5.1 */
filtered = g_mime_stream_filter_new(stream);
- filter = g_mime_filter_dos2unix_new(FALSE);
+ filter = g_mime_filter_dos2unix_new(TRUE);
g_mime_stream_filter_add(GMIME_STREAM_FILTER(filtered), filter);
g_object_unref(filter);
@@ -278,7 +278,7 @@ g_mime_gpgme_mps_verify(GMimeMultipartSigned * mps, GError ** error)
filtered_stream = g_mime_stream_filter_new(stream);
/* Note: see rfc2015 or rfc3156, section 5.1 */
- crlf_filter = g_mime_filter_dos2unix_new(FALSE);
+ crlf_filter = g_mime_filter_dos2unix_new(TRUE);
g_mime_stream_filter_add(GMIME_STREAM_FILTER(filtered_stream),
crlf_filter);
g_object_unref(crlf_filter);
@@ -329,7 +329,7 @@ g_mime_gpgme_mpe_encrypt(GMimeMultipartEncrypted * mpe,
stream = g_mime_stream_mem_new();
filtered_stream = g_mime_stream_filter_new(stream);
- crlf_filter = g_mime_filter_dos2unix_new(FALSE);
+ crlf_filter = g_mime_filter_dos2unix_new(TRUE);
g_mime_stream_filter_add(GMIME_STREAM_FILTER(filtered_stream),
crlf_filter);
g_object_unref(crlf_filter);
diff --git a/libbalsa/mailbox_imap.c b/libbalsa/mailbox_imap.c
index 6ad559ba8..57e76dfc1 100644
--- a/libbalsa/mailbox_imap.c
+++ b/libbalsa/mailbox_imap.c
@@ -2723,7 +2723,7 @@ libbalsa_mailbox_imap_add_messages(LibBalsaMailbox * mailbox,
tmpstream = g_mime_stream_filter_new(stream);
- crlffilter = g_mime_filter_dos2unix_new(FALSE);
+ crlffilter = g_mime_filter_dos2unix_new(TRUE);
g_mime_stream_filter_add(GMIME_STREAM_FILTER(tmpstream), crlffilter);
g_object_unref(crlffilter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]