From b42ec4caea9034ea66384fb6579eade63277a84d Mon Sep 17 00:00:00 2001 From: Calle Wilund Date: Tue, 28 Oct 2014 09:42:51 +0100 Subject: [PATCH] collectd - typo in value list composition Signed-off-by: Calle Wilund --- core/scollectd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/scollectd.cc b/core/scollectd.cc index 5c36fe999b..4c1746390c 100644 --- a/core/scollectd.cc +++ b/core/scollectd.cc @@ -197,7 +197,7 @@ private: } cpwriter & put(part_type type, const value_list & v) { auto s = v.size(); - auto sz = 4 + s + s * sizeof(uint64_t); + auto sz = 6 + s + s * sizeof(uint64_t); check(sz); write(uint16_t(type)); write(uint16_t(sz));