From fd965bf19c00552c4e9268eb73af4eda39437980 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 8 Mar 2019 23:39:37 +0100 Subject: WIP: Fix reading from socket-like streams --- src/byte_source.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/byte_source.h b/src/byte_source.h index 6da9df5d..d0a73fb9 100644 --- a/src/byte_source.h +++ b/src/byte_source.h @@ -96,6 +96,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 = source->error_func(source->stream) ? SERD_ERR_UNKNOWN -- cgit v1.2.1