diff options
-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 |