From: Florian Forster Date: Sat, 21 Oct 2017 19:37:21 +0000 (+0200) Subject: clang-format src/postgresql.c X-Git-Tag: collectd-5.8.0~30 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4426699d51d135a0a14d4f2e2c07dc0e33543bc2;p=collectd.git clang-format src/postgresql.c --- 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"))