diff options
author | Max Kellermann <max@musicpd.org> | 2018-08-02 11:07:40 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-08-02 11:07:40 +0200 |
commit | cf471e830ffd9dc417aeb5e85a9bbbfbd6d18b09 (patch) | |
tree | 15eceda578d636e84d4e98829167f37a1d9aeeda /src/lib | |
parent | 22192adbc8b150cf17446936a67d91227e787581 (diff) | |
parent | 906972973e5ff849cfea2e786b6d304057dfc529 (diff) |
Merge branch 'v0.20.x'
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/nfs/FileReader.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/nfs/FileReader.cxx b/src/lib/nfs/FileReader.cxx index 82ce39152..b11a224af 100644 --- a/src/lib/nfs/FileReader.cxx +++ b/src/lib/nfs/FileReader.cxx @@ -23,7 +23,7 @@ #include "Base.hxx" #include "Connection.hxx" #include "event/Call.hxx" -#include "util/StringCompare.hxx" +#include "util/ASCII.hxx" #include <utility> @@ -92,7 +92,7 @@ NfsFileReader::Open(const char *uri) { assert(state == State::INITIAL); - if (!StringStartsWith(uri, "nfs://")) + if (!StringStartsWithCaseASCII(uri, "nfs://")) throw std::runtime_error("Malformed nfs:// URI"); uri += 6; |