From f229efa7d0202c119589577ad76899d0e92d04c0 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 18 Jan 2013 11:42:40 +0100 Subject: [PATCH] dbi plugin: Replace cdbi_config_set_string() with cf_util_get_string(). --- src/dbi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dbi.c b/src/dbi.c index 7067a2d4..acf3b761 100644 --- 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 = 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); -- 2.11.0