summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2003-12-12 00:46:18 +0000
committerJames Bursa <james@netsurf-browser.org>2003-12-12 00:46:18 +0000
commit599953c98f6ce6e58069b9a3dc2b786adf77033c (patch)
tree025cdcbdbd43e04ad5cc272c660946ba9c391330 /desktop
parent086d66c9a15f6b2752c27b1f30f4c7dfa2ea3183 (diff)
downloadnetsurf-599953c98f6ce6e58069b9a3dc2b786adf77033c.tar.gz
netsurf-599953c98f6ce6e58069b9a3dc2b786adf77033c.tar.bz2
[project @ 2003-12-12 00:46:18 by bursa]
Fix protocol check. svn path=/import/netsurf/; revision=427
Diffstat (limited to 'desktop')
-rw-r--r--desktop/loginlist.c2
1 files changed, 1 insertions, 1 deletions
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;