diff options
author | Dan Winship <danw@src.gnome.org> | 2000-04-26 09:26:29 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-04-26 09:26:29 +0800 |
commit | 69213446495dd586b0b92ff8ad5bb4c4278ecf8a (patch) | |
tree | 15bff43e04b3c62c369e2067c4b0b9a7c242f6a8 /camel | |
parent | 390beacc98a9f704d75298d8e0c2b8a97ec71b5b (diff) | |
download | gsoc2013-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')
-rw-r--r-- | camel/ChangeLog | 3 | ||||
-rw-r--r-- | camel/camel-stream-buffer.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index ad51e0edd9..bd6efd3d04 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,8 @@ 2000-04-25 Dan Winship <danw@helixcode.com> + * camel-stream-buffer.c (_eos): only return TRUE if the parent is + at eos AND the buffer has been exhausted + * camel-mime-message.c: fix some incorrect macro usage that resulted in bogus casts 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 |