aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/rspamc.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-15 16:26:24 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-15 16:26:24 +0100
commit96df62e1b8e6f72fbecb38f9354691a490aa5f90 (patch)
tree8390c610b8a1c2851e1bdefcf7233632fe329063 /src/client/rspamc.c
parent30499880c6f215e1be4e79a6de1e945b1df7ae42 (diff)
downloadrspamd-96df62e1b8e6f72fbecb38f9354691a490aa5f90.tar.gz
rspamd-96df62e1b8e6f72fbecb38f9354691a490aa5f90.zip
[Feature] Fold DKIM-Signature header
Diffstat (limited to 'src/client/rspamc.c')
-rw-r--r--src/client/rspamc.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c
index bad266b9e..7a3e2061c 100644
--- a/src/client/rspamc.c
+++ b/src/client/rspamc.c
@@ -1130,12 +1130,8 @@ rspamc_mime_output (FILE *out, ucl_object_t *result, GString *input,
g_string_free (symbuf, TRUE);
if (ucl_object_lookup (result, "dkim-signature")) {
- folded_symbuf = rspamd_header_value_fold ("DKIM-Signature",
- ucl_object_tostring (ucl_object_lookup (result, "dkim-signature")),
- 0);
- rspamd_printf_gstring (added_headers, "DKIM-Signature: %v\r\n",
- folded_symbuf);
- g_string_free (folded_symbuf, TRUE);
+ rspamd_printf_gstring (added_headers, "DKIM-Signature: %s\r\n",
+ ucl_object_tostring (ucl_object_lookup (result, "dkim-signature")));
}
if (json || raw || compact) {