diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-01-22 00:38:53 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-01-22 00:38:53 +0800 |
commit | c677222a161edabc100369676808360a727bab57 (patch) | |
tree | 2886abaa8eb655ab564e0d9aafa695a78ef40bfc | |
parent | 2afd4f05e94a1d379700004fedce6cd8c4295209 (diff) | |
download | gsoc2013-evolution-c677222a161edabc100369676808360a727bab57.tar gsoc2013-evolution-c677222a161edabc100369676808360a727bab57.tar.gz gsoc2013-evolution-c677222a161edabc100369676808360a727bab57.tar.bz2 gsoc2013-evolution-c677222a161edabc100369676808360a727bab57.tar.lz gsoc2013-evolution-c677222a161edabc100369676808360a727bab57.tar.xz gsoc2013-evolution-c677222a161edabc100369676808360a727bab57.tar.zst gsoc2013-evolution-c677222a161edabc100369676808360a727bab57.zip |
Set the backbuflen to 0 so that calling us again won't re-flush the same
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.
svn path=/trunk/; revision=19538
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/camel-mime-filter-canon.c | 6 |
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; } } |