projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cad34d
)
dbi plugin: Replace cdbi_config_set_string() with cf_util_get_string().
author
Florian Forster
<octo@collectd.org>
Fri, 18 Jan 2013 10:42:40 +0000
(11:42 +0100)
committer
Florian Forster
<octo@collectd.org>
Fri, 18 Jan 2013 10:42:40 +0000
(11:42 +0100)
src/dbi.c
patch
|
blob
|
history
diff --git
a/src/dbi.c
b/src/dbi.c
index
7067a2d
..
acf3b76
100644
(file)
--- a/
src/dbi.c
+++ b/
src/dbi.c
@@
-299,7
+299,7
@@
static int cdbi_config_add_database (oconfig_item_t *ci) /* {{{ */
status = udb_query_pick_from_list (child, queries, queries_num,
&db->queries, &db->queries_num);
else if (strcasecmp ("Hostname", child->key) == 0)
- status = c
dbi_config_set_string(&db->hostname, child
);
+ status = c
f_util_get_string (child, &db->hostname
);
else
{
WARNING ("dbi plugin: Option `%s' not allowed here.", child->key);