From: Florian Forster Date: Sat, 14 Nov 2009 08:52:26 +0000 (+0100) Subject: bindings/erlang/collectd.erl: Use improved syntax for "dispatch_values". X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=40c20d31dce21cdfc932f895a724c7545381b150;p=collectd.git bindings/erlang/collectd.erl: Use improved syntax for "dispatch_values". --- diff --git a/bindings/erlang/collectd.erl b/bindings/erlang/collectd.erl index cee7c1b5..1860a50c 100644 --- a/bindings/erlang/collectd.erl +++ b/bindings/erlang/collectd.erl @@ -3,7 +3,7 @@ -include("collectd.hrl"). -dispatch_values (VL) when is_record (VL, value_list) -> +dispatch_values (#value_list{} = VL) -> call_cnode (dispatch_values, VL). register_read (Callback) ->