aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-08 23:39:37 +0100
committerDavid Robillard <d@drobilla.net>2021-03-08 23:23:05 -0500
commit2ef60a2d3718a6d4f82bc03345e5c4a31aa7f1c4 (patch)
treea3c3d178b9620080b3098098ca07580f162bd032 /src
parent52dc5234ce4da1427883dfdda70b9f07bc775994 (diff)
downloadserd-2ef60a2d3718a6d4f82bc03345e5c4a31aa7f1c4.tar.gz
serd-2ef60a2d3718a6d4f82bc03345e5c4a31aa7f1c4.tar.bz2
serd-2ef60a2d3718a6d4f82bc03345e5c4a31aa7f1c4.zip
WIP: Fix reading from socket-like streams
Diffstat (limited to 'src')
-rw-r--r--src/byte_source.h1
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 =