aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-12-14 16:25:19 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-12-14 16:25:19 +0000
commit19afb90db2d67a43cde5959e211134cf4231f624 (patch)
treeb212194aa94b9b99cee414d1390375448d1433ed /src/client
parent601e6403a2c8bcd9e73bb683cd26aa5d3a2c06b9 (diff)
downloadrspamd-19afb90db2d67a43cde5959e211134cf4231f624.tar.gz
rspamd-19afb90db2d67a43cde5959e211134cf4231f624.zip
[Minor] Update invocation
Diffstat (limited to 'src/client')
-rw-r--r--src/client/rspamc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c
index 4bb632121..3760c62e0 100644
--- a/src/client/rspamc.c
+++ b/src/client/rspamc.c
@@ -1383,8 +1383,8 @@ rspamc_mime_output (FILE *out, ucl_object_t *result, GString *input,
g_string_erase (symbuf, symbuf->len - 1, 1);
}
- folded_symbuf = rspamd_header_value_fold ("X-Spam-Symbols",
- symbuf->str,
+ folded_symbuf = rspamd_header_value_fold ("X-Spam-Symbols", strlen ("X-Spam-Symbols"),
+ symbuf->str, symbuf->len,
0, nl_type, ",");
rspamd_printf_gstring (added_headers, "X-Spam-Symbols: %v%s",
folded_symbuf, line_end);