From 599953c98f6ce6e58069b9a3dc2b786adf77033c Mon Sep 17 00:00:00 2001 From: James Bursa Date: Fri, 12 Dec 2003 00:46:18 +0000 Subject: [project @ 2003-12-12 00:46:18 by bursa] Fix protocol check. svn path=/import/netsurf/; revision=427 --- desktop/loginlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop/loginlist.c') diff --git a/desktop/loginlist.c b/desktop/loginlist.c index 0373d441a..147b6bed7 100644 --- a/desktop/loginlist.c +++ b/desktop/loginlist.c @@ -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; -- cgit v1.2.3