summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorJari Matilainen <jari.matilainen@istone.se>2017-05-11 14:08:45 +0200
committerJari Matilainen <jari.matilainen@istone.se>2017-05-11 14:08:45 +0200
commit783458e9ba068117089d23730add317069cf6447 (patch)
tree8f2d5134ca3ba99074c3c01644f73a69a534a08a /src/fe-common
parentf060292a9cd0835dd9cc8c24a4ede67909a2b68b (diff)
downloadirssi-783458e9ba068117089d23730add317069cf6447.zip
Added code comments
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/fe-server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-common/core/fe-server.c b/src/fe-common/core/fe-server.c
index c9488e25..03feba32 100644
--- a/src/fe-common/core/fe-server.c
+++ b/src/fe-common/core/fe-server.c
@@ -159,6 +159,8 @@ 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 */
rec->tls_verify = FALSE;
}