mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 13:06:49 +03:00
[project @ 2003-10-31 10:58:35 by jmb]
Really fix scheme:moose bug svn path=/import/netsurf/; revision=395
This commit is contained in:
parent
76c37600ad
commit
04a1d398f2
@ -72,7 +72,8 @@ struct login *login_list_get(char *host) {
|
||||
if (host == NULL)
|
||||
return NULL;
|
||||
|
||||
if (strncasecmp(host, "http", 4) != 0)
|
||||
if ((strncasecmp(host, "http://", 7) != 0) ||
|
||||
(strncasecmp(host, "https://", 8) != 0))
|
||||
return NULL;
|
||||
|
||||
temphost = get_host_from_url(host);
|
||||
|
Loading…
Reference in New Issue
Block a user