diff options
Diffstat (limited to '')
-rw-r--r-- | src/ls.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -89,9 +89,8 @@ int isRemoteUrl(const char *url) while (*urlPrefixes) { count++; - if (strncmp(*urlPrefixes, url, strlen(*urlPrefixes)) == 0) { + if (!prefixcmp(url, *urlPrefixes)) return count; - } urlPrefixes++; } |