aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/worker_util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-05-18 16:13:31 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-05-18 16:13:31 +0100
commit1cf0d5687baf976760681b0db6eed754555ca89b (patch)
treef6364189af4c0141caa56b46273cb14c04ec3311 /src/libserver/worker_util.h
parent56e039715266749c29f03eaf1a200ec3b740766e (diff)
downloadrspamd-1cf0d5687baf976760681b0db6eed754555ca89b.tar.gz
rspamd-1cf0d5687baf976760681b0db6eed754555ca89b.zip
[Fix] Rework metrics handling
Issue: #3754
Diffstat (limited to 'src/libserver/worker_util.h')
-rw-r--r--src/libserver/worker_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/worker_util.h b/src/libserver/worker_util.h
index 973990974..67d598b88 100644
--- a/src/libserver/worker_util.h
+++ b/src/libserver/worker_util.h
@@ -121,11 +121,11 @@ void rspamd_controller_send_error (struct rspamd_http_connection_entry *entry,
/**
* Send openmetrics-formatted strings using HTTP
* @param entry router entry
- * @param str string to send
+ * @param str rspamd fstring buffer, ownership is transferred
*/
void
rspamd_controller_send_openmetrics (struct rspamd_http_connection_entry *entry,
- const gchar *str);
+ rspamd_fstring_t *str);
/**
* Send a custom string using HTTP