Files
ports/main/moc/moc-https.patch
2023-03-26 21:20:51 +00:00

12 lines
404 B
Diff

Patch-Source: https://github.com/archlinux/svntogit-packages/blob/f29848ed88885b6e12188683d5f9299246271543/trunk/moc-https.patch
--- a/files.c
+++ b/files.c
@@ -93,6 +93,7 @@
inline int is_url (const char *str)
{
return !strncasecmp (str, "http://", sizeof ("http://") - 1)
+ || !strncasecmp (str, "https://", sizeof ("https://") - 1)
|| !strncasecmp (str, "ftp://", sizeof ("ftp://") - 1);
}