[balsa/gmime3: 18/50] Oops--use g_mime_filter_dos2unix_new()
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gmime3: 18/50] Oops--use g_mime_filter_dos2unix_new()
- Date: Mon, 24 Feb 2020 16:13:52 +0000 (UTC)
commit a782bd61f95a4f8b2044596c1a906e21150aea93
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Thu Nov 21 15:15:27 2019 -0800
Oops--use g_mime_filter_dos2unix_new()
not g_mime_filter_dos2unix()!
modified: libbalsa/gmime-application-pkcs7.c
modified: libbalsa/gmime-multipart-crypt.c
modified: libbalsa/mailbox_imap.c
modified: libbalsa/mailbox_maildir.c
modified: libbalsa/mailbox_mbox.c
modified: libbalsa/mailbox_mh.c
modified: libbalsa/message.c
modified: libbalsa/send.c
libbalsa/gmime-application-pkcs7.c | 2 +-
libbalsa/gmime-multipart-crypt.c | 6 +++---
libbalsa/mailbox_imap.c | 4 ++--
libbalsa/mailbox_maildir.c | 2 +-
libbalsa/mailbox_mbox.c | 2 +-
libbalsa/mailbox_mh.c | 2 +-
libbalsa/message.c | 2 +-
libbalsa/send.c | 2 +-
8 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/libbalsa/gmime-application-pkcs7.c b/libbalsa/gmime-application-pkcs7.c
index 8d67bdbe7..7b18c8ee4 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_unix2dos_new(FALSE);
+ crlf_filter = g_mime_filter_dos2unix_new(FALSE);
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 d9c8e2cc7..3f9048dcc 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_unix2dos_new(FALSE);
+ filter = g_mime_filter_dos2unix_new(FALSE);
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_unix2dos_new(FALSE);
+ crlf_filter = g_mime_filter_dos2unix_new(FALSE);
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_unix2dos_new(FALSE);
+ crlf_filter = g_mime_filter_dos2unix_new(FALSE);
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 0f83cc9a5..3f49eae52 100644
--- a/libbalsa/mailbox_imap.c
+++ b/libbalsa/mailbox_imap.c
@@ -2166,7 +2166,7 @@ get_struct_from_cache(LibBalsaMailbox *mailbox, LibBalsaMessage *message,
fstream = g_mime_stream_filter_new(stream);
g_object_unref(stream);
- filter = g_mime_filter_unix2dos(FALSE);
+ filter = g_mime_filter_dos2unix_new(FALSE);
g_mime_stream_filter_add(GMIME_STREAM_FILTER(fstream), filter);
g_object_unref(filter);
@@ -2723,7 +2723,7 @@ libbalsa_mailbox_imap_add_messages(LibBalsaMailbox * mailbox,
tmpstream = g_mime_stream_filter_new(stream);
- crlffilter = g_mime_filter_unix2dos(FALSE);
+ crlffilter = g_mime_filter_dos2unix_new(FALSE);
g_mime_stream_filter_add(GMIME_STREAM_FILTER(tmpstream), crlffilter);
g_object_unref(crlffilter);
diff --git a/libbalsa/mailbox_maildir.c b/libbalsa/mailbox_maildir.c
index 8fbeb65d6..096f985bf 100644
--- a/libbalsa/mailbox_maildir.c
+++ b/libbalsa/mailbox_maildir.c
@@ -895,7 +895,7 @@ lbm_maildir_add_message(LibBalsaMailboxLocal * local,
out_stream = g_mime_stream_fs_new(fd);
in_stream = g_mime_stream_filter_new(stream);
- crlffilter = g_mime_filter_unix2dos(FALSE);
+ crlffilter = g_mime_filter_dos2unix_new(FALSE);
g_mime_stream_filter_add(GMIME_STREAM_FILTER(in_stream), crlffilter);
g_object_unref(crlffilter);
diff --git a/libbalsa/mailbox_mbox.c b/libbalsa/mailbox_mbox.c
index 43ef5a604..ab81ccd72 100644
--- a/libbalsa/mailbox_mbox.c
+++ b/libbalsa/mailbox_mbox.c
@@ -1837,7 +1837,7 @@ lbm_mbox_armored_stream(GMimeStream * stream)
fstream = g_mime_stream_filter_new(stream);
- filter = g_mime_filter_unix2dos(FALSE);
+ filter = g_mime_filter_dos2unix_new(FALSE);
g_mime_stream_filter_add(GMIME_STREAM_FILTER(fstream), filter);
g_object_unref(filter);
diff --git a/libbalsa/mailbox_mh.c b/libbalsa/mailbox_mh.c
index 501838967..7a3c13a8c 100644
--- a/libbalsa/mailbox_mh.c
+++ b/libbalsa/mailbox_mh.c
@@ -1075,7 +1075,7 @@ lbm_mh_add_message(LibBalsaMailboxLocal * local,
}
out_stream = g_mime_stream_fs_new(fd);
- crlffilter = g_mime_filter_unix2dos(FALSE);
+ crlffilter = g_mime_filter_dos2unix_new(FALSE);
in_stream = g_mime_stream_filter_new(stream);
g_mime_stream_filter_add(GMIME_STREAM_FILTER(in_stream), crlffilter);
g_object_unref(crlffilter);
diff --git a/libbalsa/message.c b/libbalsa/message.c
index 392296ae4..550b6e63a 100644
--- a/libbalsa/message.c
+++ b/libbalsa/message.c
@@ -1336,7 +1336,7 @@ libbalsa_message_load_envelope_from_stream(LibBalsaMessage *message,
gmime_stream_filter =
g_mime_stream_filter_new(gmime_stream);
- gmime_filter_crlf = g_mime_filter_unix2dos(FALSE);
+ gmime_filter_crlf = g_mime_filter_dos2unix_new(FALSE);
g_mime_stream_filter_add(GMIME_STREAM_FILTER(gmime_stream_filter),
gmime_filter_crlf);
g_object_unref(gmime_filter_crlf);
diff --git a/libbalsa/send.c b/libbalsa/send.c
index b57861aa3..d0ab2ecb4 100644
--- a/libbalsa/send.c
+++ b/libbalsa/send.c
@@ -1743,7 +1743,7 @@ libbalsa_fill_msg_queue_item_from_queu(LibBalsaMessage *message,
g_object_unref(filter);
/* add CRLF */
- filter = g_mime_filter_unix2dos_new(TRUE);
+ filter = g_mime_filter_dos2unix_new(TRUE);
g_mime_stream_filter_add(GMIME_STREAM_FILTER(filter_stream), filter);
g_object_unref(filter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]