diff options
-rw-r--r-- | src/byte_source.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/byte_source.h b/src/byte_source.h index 3503a4f5..db9b29af 100644 --- a/src/byte_source.h +++ b/src/byte_source.h @@ -100,6 +100,7 @@ serd_byte_source_advance(SerdByteSource* source) source->eof = true; } } else { + source->eof = false; if (!source->read_func(&source->read_byte, 1, 1, source->stream)) { source->eof = true; st = |