diff options
Diffstat (limited to '')
-rw-r--r-- | src/input/InputStream.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/input/InputStream.cxx b/src/input/InputStream.cxx index e73cf75e7..f5efe8ef1 100644 --- a/src/input/InputStream.cxx +++ b/src/input/InputStream.cxx @@ -20,7 +20,7 @@ #include "config.h" #include "InputStream.hxx" #include "thread/Cond.hxx" -#include "util/UriUtil.hxx" +#include "util/StringUtil.hxx" #include <assert.h> @@ -76,7 +76,8 @@ gcc_pure static bool ExpensiveSeeking(const char *uri) { - return uri_has_scheme(uri); + return StringStartsWith(uri, "http://") || + StringStartsWith(uri, "https://"); } bool |