summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-08-02 11:07:40 +0200
committerMax Kellermann <max@musicpd.org>2018-08-02 11:07:40 +0200
commitcf471e830ffd9dc417aeb5e85a9bbbfbd6d18b09 (patch)
tree15eceda578d636e84d4e98829167f37a1d9aeeda /src/lib
parent22192adbc8b150cf17446936a67d91227e787581 (diff)
parent906972973e5ff849cfea2e786b6d304057dfc529 (diff)
Merge branch 'v0.20.x'
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/nfs/FileReader.cxx4
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;