aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-stream-buffer.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-04-26 09:26:29 +0800
committerDan Winship <danw@src.gnome.org>2000-04-26 09:26:29 +0800
commit69213446495dd586b0b92ff8ad5bb4c4278ecf8a (patch)
tree15bff43e04b3c62c369e2067c4b0b9a7c242f6a8 /camel/camel-stream-buffer.c
parent390beacc98a9f704d75298d8e0c2b8a97ec71b5b (diff)
downloadgsoc2013-evolution-69213446495dd586b0b92ff8ad5bb4c4278ecf8a.tar
gsoc2013-evolution-69213446495dd586b0b92ff8ad5bb4c4278ecf8a.tar.gz
gsoc2013-evolution-69213446495dd586b0b92ff8ad5bb4c4278ecf8a.tar.bz2
gsoc2013-evolution-69213446495dd586b0b92ff8ad5bb4c4278ecf8a.tar.lz
gsoc2013-evolution-69213446495dd586b0b92ff8ad5bb4c4278ecf8a.tar.xz
gsoc2013-evolution-69213446495dd586b0b92ff8ad5bb4c4278ecf8a.tar.zst
gsoc2013-evolution-69213446495dd586b0b92ff8ad5bb4c4278ecf8a.zip
only return TRUE if the parent is at eos AND the buffer has been exhausted
* camel-stream-buffer.c (_eos): only return TRUE if the parent is at eos AND the buffer has been exhausted svn path=/trunk/; revision=2621
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