X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdbi.c;h=cd9240a62931861bf2a468a5c8a8d49e6ed20a55;hb=d1c3baabf0c7bf65f699fb66db5b2aea92d1f5e7;hp=77f393f5fc6a606c8151860617f4da4b9f62a0d3;hpb=a158940fd85bbef59a65f593cd8130896f5c44d0;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