From: Florian Forster Date: Tue, 2 May 2017 11:14:36 +0000 (+0200) Subject: libcollectdclient: Remove TODO. X-Git-Tag: collectd-5.8.0~102^2~8 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=decb31fc353114e2198dfcdafbfdbb0132a6bcee;p=collectd.git libcollectdclient: Remove TODO. No, we should not, because memory allocation is more annoying in C. --- 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);