diff options
Diffstat (limited to 'src/input/plugins/FileInputPlugin.cxx')
-rw-r--r-- | src/input/plugins/FileInputPlugin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/plugins/FileInputPlugin.cxx b/src/input/plugins/FileInputPlugin.cxx index 780e93263..49dc3df7e 100644 --- a/src/input/plugins/FileInputPlugin.cxx +++ b/src/input/plugins/FileInputPlugin.cxx @@ -44,7 +44,7 @@ struct FileInputStream { fd(_fd) { base.size = size; base.seekable = true; - base.ready = true; + base.SetReady(); } ~FileInputStream() { @@ -138,7 +138,7 @@ input_file_close(InputStream *is) static bool input_file_eof(InputStream *is) { - return is->offset >= is->size; + return is->GetOffset() >= is->GetSize(); } const InputPlugin input_plugin_file = { |