projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clang-format
[collectd.git]
/
src
/
dbi.c
diff --git
a/src/dbi.c
b/src/dbi.c
index
f37d04c
..
1909d8c
100644
(file)
--- 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);
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; */
}
/* 0 = error; 1 = success; */