11 lines
276 B
Diff
11 lines
276 B
Diff
--- 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);
|
|
}
|
|
|