diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/byte_source.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/byte_source.h b/src/byte_source.h index 198c92a8..9dc93620 100644 --- a/src/byte_source.h +++ b/src/byte_source.h @@ -90,12 +90,12 @@ serd_byte_source_advance(SerdByteSource* source) if (source->from_stream) { if (source->page_size > 1) { if (++source->read_head == source->page_size) { - source->eof = false; st = serd_byte_source_page(source); } else if (source->read_head == source->buf_size) { source->eof = true; } } else { + source->eof = false; if (!source->read_func(&source->read_byte, 1, 1, source->stream)) { source->eof = true; st = source->error_func(source->stream) ? SERD_ERR_UNKNOWN |