From: Florian Forster Date: Sun, 23 Nov 2008 11:49:25 +0000 (+0100) Subject: src/filter_chain.c: Implement the default behavior. X-Git-Tag: collectd-4.6.0~153 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;ds=sidebyside;h=f4d4d77fe427d1c632d9b0684de3890d3bdb0c18;p=collectd.git src/filter_chain.c: Implement the default behavior. If no is defined, send all values to all write plugins. --- diff --git a/src/filter_chain.c b/src/filter_chain.c index e51e07ec..b73d6e13 100644 --- a/src/filter_chain.c +++ b/src/filter_chain.c @@ -967,9 +967,8 @@ int fc_process (const data_set_t *ds, value_list_t *vl) /* {{{ */ if (chain != NULL) return (fc_process_chain (ds, vl, chain)); - ERROR ("fc_process: TODO: Implement default behavior!"); - - return (0); + return (fc_bit_write_invoke (ds, vl, + /* meta = */ NULL, /* user_data = */ NULL)); } /* }}} int fc_process */ int fc_configure (const oconfig_item_t *ci) /* {{{ */