mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 18:20:07 +00:00
12 lines
404 B
Diff
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);
|
|
}
|
|
|