From 4426699d51d135a0a14d4f2e2c07dc0e33543bc2 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sat, 21 Oct 2017 21:37:21 +0200 Subject: [PATCH] clang-format src/postgresql.c --- src/postgresql.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/postgresql.c b/src/postgresql.c index b122dfe5..25bedf86 100644 --- a/src/postgresql.c +++ b/src/postgresql.c @@ -547,8 +547,8 @@ static int c_psql_exec_query(c_psql_database_t *db, udb_query_t *q, status = udb_query_prepare_result( q, prep_area, host, - (db->plugin_name != NULL) ? db->plugin_name : "postgresql", - db->instance, column_names, (size_t)column_num, db->interval); + (db->plugin_name != NULL) ? db->plugin_name : "postgresql", db->instance, + column_names, (size_t)column_num, db->interval); if (0 != status) { log_err("udb_query_prepare_result failed with status %i.", status); @@ -1147,8 +1147,8 @@ static int c_psql_config_database(oconfig_item_t *ci) { cf_util_get_string(c, &db->password); else if (0 == strcasecmp(c->key, "Instance")) cf_util_get_string(c, &db->instance); - else if (0 == strcasecmp (c->key, "Plugin")) - cf_util_get_string (c, &db->plugin_name); + else if (0 == strcasecmp(c->key, "Plugin")) + cf_util_get_string(c, &db->plugin_name); else if (0 == strcasecmp(c->key, "SSLMode")) cf_util_get_string(c, &db->sslmode); else if (0 == strcasecmp(c->key, "KRBSrvName")) -- 2.11.0