[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:
John Mark Bell 2003-10-31 10:58:35 +00:00
parent 76c37600ad
commit 04a1d398f2

View File

@ -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);