From decb31fc353114e2198dfcdafbfdbb0132a6bcee Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 2 May 2017 13:14:36 +0200 Subject: [PATCH] libcollectdclient: Remove TODO. No, we should not, because memory allocation is more annoying in C. --- src/libcollectdclient/collectd/network_parse.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libcollectdclient/collectd/network_parse.h b/src/libcollectdclient/collectd/network_parse.h index abd632c4..0cd9a792 100644 --- a/src/libcollectdclient/collectd/network_parse.h +++ b/src/libcollectdclient/collectd/network_parse.h @@ -28,8 +28,8 @@ #include "collectd/lcc_features.h" -#include "collectd/types.h" #include "collectd/network.h" /* for lcc_security_level_t */ +#include "collectd/types.h" #include @@ -48,8 +48,6 @@ typedef struct { /* lcc_network_parse parses data received from the network and calls "w" with * the parsed lcc_value_list_ts. */ -/* TODO(octo): the Go code returns a []api.ValueList. Should we return a - * value_list_t** here? */ int lcc_network_parse(void *buffer, size_t buffer_size, lcc_network_parse_options_t opts); -- 2.30.2