[project @ 2003-12-12 00:46:18 by bursa]

Fix protocol check.

svn path=/import/netsurf/; revision=427
This commit is contained in:
James Bursa 2003-12-12 00:46:18 +00:00
parent 086d66c9a1
commit 599953c98f

View File

@ -72,7 +72,7 @@ struct login *login_list_get(char *host) {
if (host == NULL)
return NULL;
if ((strncasecmp(host, "http://", 7) != 0) ||
if ((strncasecmp(host, "http://", 7) != 0) &&
(strncasecmp(host, "https://", 8) != 0))
return NULL;