diff options
Diffstat (limited to 'camel/camel-stream-filter.c')
-rw-r--r-- | camel/camel-stream-filter.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/camel/camel-stream-filter.c b/camel/camel-stream-filter.c index 3d38860ade..059a5198f1 100644 --- a/camel/camel-stream-filter.c +++ b/camel/camel-stream-filter.c @@ -331,11 +331,9 @@ do_flush (CamelStream *stream) size_t presize; size_t len; - if (p->last_was_read) { - g_warning("Flushing a filter stream without writing to it"); + if (p->last_was_read) return 0; - } - + buffer = ""; len = 0; presize = 0; |