summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6cad34d)
raw | patch | inline | side by side (parent: 6cad34d)
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 7067a2d4a8231674a0745e3c321d194e610aac1b..acf3b7612b9d2a853b8fc1fb0852708cc0a6d630 100644 (file)
--- a/src/dbi.c
+++ b/src/dbi.c
status = udb_query_pick_from_list (child, queries, queries_num,
&db->queries, &db->queries_num);
else if (strcasecmp ("Hostname", child->key) == 0)
- status = cdbi_config_set_string(&db->hostname, child);
+ status = cf_util_get_string (child, &db->hostname);
else
{
WARNING ("dbi plugin: Option `%s' not allowed here.", child->key);