From d079b656b4719739b2247dcd9d46e9bec793095a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 Feb 2023 17:11:34 +0100 Subject: Merging upstream version 1.38.0. Signed-off-by: Daniel Baumann --- exporting/init_connectors.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'exporting/init_connectors.c') diff --git a/exporting/init_connectors.c b/exporting/init_connectors.c index bfb6525ea..15e1951f8 100644 --- a/exporting/init_connectors.c +++ b/exporting/init_connectors.c @@ -171,8 +171,8 @@ void simple_connector_init(struct instance *instance) if (connector_specific_data->first_buffer) return; - connector_specific_data->header = buffer_create(0); - connector_specific_data->buffer = buffer_create(0); + connector_specific_data->header = buffer_create(0, &netdata_buffers_statistics.buffers_exporters); + connector_specific_data->buffer = buffer_create(0, &netdata_buffers_statistics.buffers_exporters); // create a ring buffer struct simple_connector_buffer *first_buffer = NULL; @@ -195,7 +195,7 @@ void simple_connector_init(struct instance *instance) connector_specific_data->last_buffer = connector_specific_data->first_buffer; if (*instance->config.username || *instance->config.password) { - BUFFER *auth_string = buffer_create(0); + BUFFER *auth_string = buffer_create(0, &netdata_buffers_statistics.buffers_exporters); buffer_sprintf(auth_string, "%s:%s", instance->config.username, instance->config.password); -- cgit v1.2.3