X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Fconfigfile.c;h=61fa9013fd573ee7d445da47eb4015082af3f907;hb=f43a473fd8ffa483bd7d74579a22886ab2df9101;hp=3a7364edb00a3e605d146b8e67be5b4fc4c9fd48;hpb=bf1c2612bc0405c895f754ebfbb24484122c7cfa;p=collectd.git 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) {