diff options
Diffstat (limited to 'moc-https.patch')
-rw-r--r-- | moc-https.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/moc-https.patch b/moc-https.patch new file mode 100644 index 000000000000..143e4f16a484 --- /dev/null +++ b/moc-https.patch @@ -0,0 +1,10 @@ +--- files.c 2016-11-16 01:54:37.000000000 +0100 ++++ /tmp/files.c 2018-10-12 11:34:55.297373063 +0200 +@@ -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); + } + |