diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-18 15:05:28 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-18 15:05:28 +0100 |
commit | 1755ad1ce5a0165f08f1b4d778f198d652d48b9c (patch) | |
tree | 7a5f215979ed8f210353e135abe262e183de4a3e /src/libserver/protocol.c | |
parent | de4e7f2afa28c0163ae7da9f11ad59f0be12323c (diff) | |
download | rspamd-1755ad1ce5a0165f08f1b4d778f198d652d48b9c.tar.gz rspamd-1755ad1ce5a0165f08f1b4d778f198d652d48b9c.zip |
[Project] Add possibility to modify body in milter context
Diffstat (limited to 'src/libserver/protocol.c')
-rw-r--r-- | src/libserver/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c index 02dc73607..e8bbd979b 100644 --- a/src/libserver/protocol.c +++ b/src/libserver/protocol.c @@ -1564,7 +1564,7 @@ rspamd_protocol_http_reply (struct rspamd_http_message *msg, GString *hdr_offset = g_string_sized_new (30); rspamd_printf_gstring (hdr_offset, "%z", RSPAMD_FSTRING_LEN (reply)); - rspamd_http_message_add_header (msg, "Message-Offset", + rspamd_http_message_add_header (msg, MESSAGE_OFFSET_HEADER, hdr_offset->str); msg_debug_protocol ("write body block at position %s", hdr_offset->str); |