summaryrefslogtreecommitdiff
path: root/src/TagFile.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-29 18:08:49 +0100
committerMax Kellermann <max@duempel.org>2013-12-29 18:08:49 +0100
commitaeb2baa495776d9fc06e63f91167c40c334303c8 (patch)
tree4bbd926c1f19a64a1f3fc5b580d0d68bd3aabca3 /src/TagFile.cxx
parentea9aff1d3f9f68eb5ae9e5f2bd67d283b8c0f47e (diff)
InputStream: add static method OpenReady()
Merge some duplicate code.
Diffstat (limited to 'src/TagFile.cxx')
-rw-r--r--src/TagFile.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/TagFile.cxx b/src/TagFile.cxx
index 8d29d5ebe..3a6756008 100644
--- a/src/TagFile.cxx
+++ b/src/TagFile.cxx
@@ -62,9 +62,9 @@ public:
/* open the InputStream (if not already open) */
if (is == nullptr) {
- is = InputStream::Open(path_fs.c_str(),
- mutex, cond,
- IgnoreError());
+ is = InputStream::OpenReady(path_fs.c_str(),
+ mutex, cond,
+ IgnoreError());
if (is == nullptr)
return false;
} else