aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-stream-buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-stream-buffer.c')
-rw-r--r--camel/camel-stream-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-stream-buffer.c b/camel/camel-stream-buffer.c
index cd394e3f81..4830758c9c 100644
--- a/camel/camel-stream-buffer.c
+++ b/camel/camel-stream-buffer.c
@@ -379,7 +379,7 @@ _eos (CamelStream *stream)
{
CamelStreamBuffer *sbf = CAMEL_STREAM_BUFFER (stream);
- return camel_stream_eos(sbf->stream);
+ return camel_stream_eos(sbf->stream) && sbf->ptr == sbf->end;
}
static void