summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ls.c b/src/ls.c
index a456db040..2f652658c 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -21,7 +21,6 @@
#include "path.h"
#include "client.h"
#include "log.h"
-#include "utils.h"
#include "list.h"
#include "stored_playlist.h"
#include "os_compat.h"
@@ -92,7 +91,7 @@ int isRemoteUrl(const char *url)
while (*urlPrefixes) {
count++;
- if (!prefixcmp(url, *urlPrefixes))
+ if (g_str_has_prefix(url, *urlPrefixes))
return count;
urlPrefixes++;
}