From: Pavel Rochnyack Date: Thu, 24 May 2018 05:35:43 +0000 (+0700) Subject: clang-format X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=5739d97b79ce7b57acba4d6a450bc3057de004f6;p=collectd.git clang-format --- diff --git a/src/dbi.c b/src/dbi.c index f37d04c9..1909d8ca 100644 --- a/src/dbi.c +++ b/src/dbi.c @@ -553,10 +553,10 @@ static int cdbi_read_database_query(cdbi_database_t *db, /* {{{ */ db->name, column_names, column_num, /* interval = */ (db->interval > 0) ? db->interval : 0); - if (status != 0) - { - ERROR("dbi plugin: udb_query_prepare_result failed with status %i.", status); - BAIL_OUT (-1); + if (status != 0) { + ERROR("dbi plugin: udb_query_prepare_result failed with status %i.", + status); + BAIL_OUT(-1); } /* 0 = error; 1 = success; */ diff --git a/src/oracle.c b/src/oracle.c index 38f08f2b..4bca8387 100644 --- a/src/oracle.c +++ b/src/oracle.c @@ -583,7 +583,7 @@ static int o_read_database_query(o_database_t *db, /* {{{ */ } } /* }}} while (42) */ - udb_query_finish_result (q, prep_area); + udb_query_finish_result(q, prep_area); /* DEBUG ("oracle plugin: o_read_database_query: This statement succeeded: * %s", q->statement); */