aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/received.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmime/received.cxx')
-rw-r--r--src/libmime/received.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/received.cxx b/src/libmime/received.cxx
index 9571580e9..0886d6e37 100644
--- a/src/libmime/received.cxx
+++ b/src/libmime/received.cxx
@@ -737,7 +737,7 @@ received_maybe_fix_task(struct rspamd_task *task) -> bool
if (mta_name) {
trecv.by_hostname.assign_copy(std::string_view(mta_name));
}
- trecv.addr = rspamd_inet_address_copy(task->from_addr);
+ trecv.addr = rspamd_inet_address_copy(task->from_addr, NULL);
if (task->hostname) {
trecv.real_hostname.assign_copy(std::string_view(task->hostname));