diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-28 13:25:34 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-28 13:25:34 +0100 |
commit | a709da98c462abc9f6b08e4288525ad92698685f (patch) | |
tree | 520f84f168210f31cb9c9585db1d590cfb74882e /src/libserver/protocol.c | |
parent | 8fb798b5091a66c39aeef381ebb5afd1b345b690 (diff) | |
download | rspamd-a709da98c462abc9f6b08e4288525ad92698685f.tar.gz rspamd-a709da98c462abc9f6b08e4288525ad92698685f.zip |
[Feature] Allow to fold headers on stop characters
Diffstat (limited to 'src/libserver/protocol.c')
-rw-r--r-- | src/libserver/protocol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c index 77bbe04bf..421e36574 100644 --- a/src/libserver/protocol.c +++ b/src/libserver/protocol.c @@ -1127,11 +1127,11 @@ rspamd_protocol_write_ucl (struct rspamd_task *task, if (task->flags & RSPAMD_TASK_FLAG_MILTER) { folded_header = rspamd_header_value_fold ("DKIM-Signature", - dkim_sig->str, 80, RSPAMD_TASK_NEWLINES_LF); + dkim_sig->str, 80, RSPAMD_TASK_NEWLINES_LF, NULL); } else { folded_header = rspamd_header_value_fold ("DKIM-Signature", - dkim_sig->str, 80, task->nlines_type); + dkim_sig->str, 80, task->nlines_type, NULL); } /* * According to milter docs, we need to be extra careful |