X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdbi.c;h=cd9240a62931861bf2a468a5c8a8d49e6ed20a55;hb=a898c17330d9a2039bcdb8f7e6dbedba516a6cd8;hp=77f393f5fc6a606c8151860617f4da4b9f62a0d3;hpb=97addf1e406c75be500ae020635f3cb389f206e0;p=collectd.git diff --git a/src/dbi.c b/src/dbi.c index 77f393f5..cd9240a6 100644 --- a/src/dbi.c +++ b/src/dbi.c @@ -400,7 +400,7 @@ static int cdbi_config (oconfig_item_t *ci) /* {{{ */ oconfig_item_t *child = ci->children + i; if (strcasecmp ("Query", child->key) == 0) udb_query_create (&queries, &queries_num, child, - /* callback = */ NULL, /* legacy mode = */ 0); + /* callback = */ NULL); else if (strcasecmp ("Database", child->key) == 0) cdbi_config_add_database (child); else