diff --git a/lib/util.c b/lib/util.c index 0f41098a..3daa3409 100644 --- a/lib/util.c +++ b/lib/util.c @@ -56,8 +56,8 @@ xbps_repository_is_remote(const char *uri) { assert(uri != NULL); - if ((strncmp(uri, "https://", 8) == 0) || - (strncmp(uri, "http://", 7) == 0) || + if ((strncmp(uri, "http://", 7) == 0) || + (strncmp(uri, "https://", 8) == 0) || (strncmp(uri, "ftp://", 6) == 0)) return true;