summarylogtreecommitdiffstats
path: root/moc-https.patch
diff options
context:
space:
mode:
authorHans-Nikolai Viessmann2021-09-05 12:49:19 +0200
committerHans-Nikolai Viessmann2021-09-05 12:49:19 +0200
commit02f03e846883f597388d93367e6aa41cf117ed20 (patch)
treeb1d6a1cffeca2f43f9491e8a7c9d2f83b52456a9 /moc-https.patch
parente99b4e3c793f3265631e50884e75dfd8c7cd0b7c (diff)
downloadaur-02f03e846883f597388d93367e6aa41cf117ed20.tar.gz
new revision; add https patch
Diffstat (limited to 'moc-https.patch')
-rw-r--r--moc-https.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/moc-https.patch b/moc-https.patch
new file mode 100644
index 000000000000..5ff304df944f
--- /dev/null
+++ b/moc-https.patch
@@ -0,0 +1,10 @@
+--- files.c.orig
++++ 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);
+ }
+