summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorJari Matilainen <jari.matilainen@istone.se>2017-05-11 11:17:14 +0200
committerJari Matilainen <jari.matilainen@istone.se>2017-05-11 11:17:14 +0200
commitf060292a9cd0835dd9cc8c24a4ede67909a2b68b (patch)
treea2367d6f2fde42d9af1753895969f2af11aacc1a /src/fe-common
parentdbde9f0fe3c9fcd7eb8e56e9b1beffb71b0607e1 (diff)
downloadirssi-f060292a9cd0835dd9cc8c24a4ede67909a2b68b.zip
Added braces
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/fe-server.c3
1 files changed, 2 insertions, 1 deletions
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;