From 83ba6762cc43d9db581b979bb5e3445669e46cc2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 25 Nov 2024 18:33:56 +0100 Subject: Merging upstream version 2.0.3+dfsg (Closes: #923993, #1042533, #1045145). Signed-off-by: Daniel Baumann --- src/web/api/functions/function-progress.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/web/api/functions/function-progress.c (limited to 'src/web/api/functions/function-progress.c') diff --git a/src/web/api/functions/function-progress.c b/src/web/api/functions/function-progress.c new file mode 100644 index 000000000..052a9020a --- /dev/null +++ b/src/web/api/functions/function-progress.c @@ -0,0 +1,8 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + +#include "function-progress.h" + +int function_progress(BUFFER *wb, const char *function __maybe_unused, BUFFER *payload __maybe_unused, const char *source __maybe_unused) { + return progress_function_result(wb, rrdhost_hostname(localhost)); +} + -- cgit v1.2.3