summaryrefslogtreecommitdiffstats
path: root/src/libmime/received.hxx
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-10-06 11:01:21 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-10-06 11:01:21 +0100
commit26e33fb5c1be1e979366fcb6a76c2b3b0a7528ff (patch)
treef69a06e84a65cdac886cd73526dfa64ceecbcb1c /src/libmime/received.hxx
parentc55b683b92b311c9384f960b3a976bb288facac9 (diff)
downloadrspamd-26e33fb5c1be1e979366fcb6a76c2b3b0a7528ff.tar.gz
rspamd-26e33fb5c1be1e979366fcb6a76c2b3b0a7528ff.zip
[Test] Move tests from lua to C++
Diffstat (limited to 'src/libmime/received.hxx')
-rw-r--r--src/libmime/received.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libmime/received.hxx b/src/libmime/received.hxx
index 98d46770b..de9df52bb 100644
--- a/src/libmime/received.hxx
+++ b/src/libmime/received.hxx
@@ -114,7 +114,8 @@ struct received_header {
: from_hostname(received_char_filter),
real_hostname(received_char_filter),
real_ip(received_char_filter),
- by_hostname(received_char_filter) {}
+ by_hostname(received_char_filter),
+ for_mbox() {}
/* We have raw C pointers, so copy is explicitly disabled */
received_header(const received_header &other) = delete;
received_header(received_header &&other) noexcept {