Added code comments

This commit is contained in:
Jari Matilainen 2017-05-11 14:08:45 +02:00
commit 783458e9ba

View file

@ -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;
}