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
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user