aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/camel-mime-filter-canon.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index e932cd42d6..5cc9f9943e 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2002-07-16 Jeffrey Stedfast <fejj@ximian.com>
+
+ * camel-mime-filter-canon.c (filter): When CRLF encoding, "empty"
+ (after stripping trailing whitespace characters) lines need to end
+ in CRLF also, not just lines with data in them.
+
2002-07-16 Peter Williams <peterw@ximian.com>
* providers/imap/camel-imap-folder.c (imap_sync_online): Clean
diff --git a/camel/camel-mime-filter-canon.c b/camel/camel-mime-filter-canon.c
index 0fd48fb7b3..412fe89262 100644
--- a/camel/camel-mime-filter-canon.c
+++ b/camel/camel-mime-filter-canon.c
@@ -135,7 +135,11 @@ filter(CamelMimeFilter *f, char *in, size_t len, size_t prespace, char **out, si
if (o[-1] == '\r')
o--;
}
+ } else if (flags & CAMEL_MIME_FILTER_CANON_CRLF) {
+ /* empty line */
+ *o++ = '\r';
}
+
*o++ = c;
start = inptr;
starto = o;