mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-11 13:29:21 +03:00
[project @ 2003-12-12 00:46:18 by bursa]
Fix protocol check. svn path=/import/netsurf/; revision=427
This commit is contained in:
parent
086d66c9a1
commit
599953c98f
@ -72,7 +72,7 @@ struct login *login_list_get(char *host) {
|
|||||||
if (host == NULL)
|
if (host == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if ((strncasecmp(host, "http://", 7) != 0) ||
|
if ((strncasecmp(host, "http://", 7) != 0) &&
|
||||||
(strncasecmp(host, "https://", 8) != 0))
|
(strncasecmp(host, "https://", 8) != 0))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user