From f060292a9cd0835dd9cc8c24a4ede67909a2b68b Mon Sep 17 00:00:00 2001 From: Jari Matilainen Date: Thu, 11 May 2017 11:17:14 +0200 Subject: [PATCH] Added braces --- src/fe-common/core/fe-server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fe-common/core/fe-server.c b/src/fe-common/core/fe-server.c index 207dae7d..c9488e25 100644 --- a/src/fe-common/core/fe-server.c +++ b/src/fe-common/core/fe-server.c @@ -154,8 +154,9 @@ static void cmd_server_add_modify(const char *data, gboolean add) else if (g_hash_table_lookup(optlist, "4")) rec->family = AF_INET; - if (g_hash_table_lookup(optlist, "tls") || g_hash_table_lookup(optlist, "ssl")) + if (g_hash_table_lookup(optlist, "tls") || g_hash_table_lookup(optlist, "ssl")) { rec->use_tls = TRUE; + } else if (g_hash_table_lookup(optlist, "notls") || g_hash_table_lookup(optlist, "nossl")) { rec->use_tls = FALSE; rec->tls_verify = FALSE;