X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fdaemon%2Fconfigfile.c;fp=src%2Fdaemon%2Fconfigfile.c;h=61fa9013fd573ee7d445da47eb4015082af3f907;hp=3a7364edb00a3e605d146b8e67be5b4fc4c9fd48;hb=d96e10d68027716fb9d7f36a92db26f61145c493;hpb=f35937bd13e42ba22632c439903b11a31588020c diff --git a/src/daemon/configfile.c b/src/daemon/configfile.c index 3a7364ed..61fa9013 100644 --- a/src/daemon/configfile.c +++ b/src/daemon/configfile.c @@ -404,6 +404,10 @@ static int dispatch_block_plugin(oconfig_item_t *ci) { } } + /* Try to be backward-compatible with previous versions */ + if (ci->children_num == 0) + return 0; + /* Hm, no complex plugin found. Dispatch the values one by one */ cf_callback_t *cf_cb = cf_search(plugin_name); if (cf_cb == NULL) {