diff options
Diffstat (limited to 'src/ls.cxx')
-rw-r--r-- | src/ls.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ls.cxx b/src/ls.cxx index 72754dd7f..2f3cda603 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> @@ -97,7 +97,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++; } |