[balsa/gmime3: 41/48] 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: 41/48] Fix some porting to g_mime_filter_dos2unix_new()
- Date: Wed, 18 Dec 2019 14:34:30 +0000 (UTC)
commit dec6241000e547a1ac5d9638b5d09e6c6919d2f8
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 61e4961fe..82ff31a42 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]