summaryrefslogtreecommitdiff
path: root/desktop/loginlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/loginlist.c')
-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;