summaryrefslogtreecommitdiff
path: root/src/ls.cxx
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/ls.cxx
parent22192adbc8b150cf17446936a67d91227e787581 (diff)
parent906972973e5ff849cfea2e786b6d304057dfc529 (diff)
Merge branch 'v0.20.x'
Diffstat (limited to 'src/ls.cxx')
-rw-r--r--src/ls.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ls.cxx b/src/ls.cxx
index 77543492a..7768510c7 100644
--- a/src/ls.cxx
+++ b/src/ls.cxx
@@ -20,7 +20,7 @@
#include "config.h"
#include "ls.hxx"
#include "client/Response.hxx"
-#include "util/StringCompare.hxx"
+#include "util/ASCII.hxx"
#include "util/UriUtil.hxx"
#include <assert.h>
@@ -103,7 +103,7 @@ uri_supported_scheme(const char *uri) noexcept
assert(uri_has_scheme(uri));
while (*urlPrefixes) {
- if (StringStartsWith(uri, *urlPrefixes))
+ if (StringStartsWithCaseASCII(uri, *urlPrefixes))
return true;
urlPrefixes++;
}