aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-mime-filter-canon.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 60b210370f..35c386387d 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-21 Jeffrey Stedfast <fejj@ximian.com>
+
+ * camel-mime-filter-canon.c (complete): Set the backbuflen to 0 so
+ that calling us again won't re-flush the same data.
+
2003-01-17 Larry Ewing <lewing@ximian.com>
* camel-mime-filter-enriched.c (enriched_to_html): only grow the
diff --git a/camel/camel-mime-filter-canon.c b/camel/camel-mime-filter-canon.c
index 412fe89262..a72f01c77f 100644
--- a/camel/camel-mime-filter-canon.c
+++ b/camel/camel-mime-filter-canon.c
@@ -205,11 +205,13 @@ complete(CamelMimeFilter *f, char *in, size_t len, size_t prespace, char **out,
o--;
}
}
-
+
/* and always finish with an eol */
*o++ = '\n';
-
+
*outlen = o - *out;
+
+ f->backlen = 0;
}
}