summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2017-05-14 09:43:38 +0200
committerGitHub <noreply@github.com>2017-05-14 09:43:38 +0200
commit81cf8d8813c4226e0d9db5f776e0f6a6904813e0 (patch)
tree2589ea8aea17ca9f2264edb92fa40586dea90c88 /src/fe-common
parent783458e9ba068117089d23730add317069cf6447 (diff)
downloadirssi-81cf8d8813c4226e0d9db5f776e0f6a6904813e0.zip
Update fe-server.c
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/fe-server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fe-common/core/fe-server.c b/src/fe-common/core/fe-server.c
index 03feba32..e8e9f33f 100644
--- a/src/fe-common/core/fe-server.c
+++ b/src/fe-common/core/fe-server.c
@@ -159,8 +159,7 @@ static void cmd_server_add_modify(const char *data, gboolean add)
}
else if (g_hash_table_lookup(optlist, "notls") || g_hash_table_lookup(optlist, "nossl")) {
rec->use_tls = FALSE;
- /* if rec has tls_verify = TRUE then use_tls will be set to true on lines 224-225
- so explicitly set tls_verify to FALSE when -notls is used */
+ /* tls_verify implies use_tls, disable it explicitly */
rec->tls_verify = FALSE;
}