src/utils_cmd_putval.c: Fix multi-value PUTVAL.
authorFlorian Forster <octo@collectd.org>
Fri, 12 May 2017 10:08:55 +0000 (12:08 +0200)
committerFlorian Forster <octo@collectd.org>
Fri, 12 May 2017 11:10:56 +0000 (13:10 +0200)
commit619adc097bbc8f26e846db9a6cdfcb0322ba9944
tree1bde36fe7dc523adfb4e1f23f6147896db2893bf
parent632cca47086de6cb23c32fc35802da1a19f40875
src/utils_cmd_putval.c: Fix multi-value PUTVAL.

vl.values was allocated outside of the loop and then copied into each
ret_putval->vl[]. This means that later values overwrote the values
stored in previous ret_putval->vl[].
src/utils_cmd_putval.c