diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2022-03-20 12:45:03 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2022-03-20 12:45:03 +0000 |
commit | 9117058f1548c521567e5314280bd484ba039263 (patch) | |
tree | 5256e85f8f11cfca28d7d961609a52fe1e829078 /src/libmime/received.cxx | |
parent | 920edd39c12de0e69e54aa0bcde81e6e8d814c22 (diff) | |
download | rspamd-9117058f1548c521567e5314280bd484ba039263.tar.gz rspamd-9117058f1548c521567e5314280bd484ba039263.zip |
[Minor] Allow to specify mempool when copying an IP address structure
Diffstat (limited to 'src/libmime/received.cxx')
-rw-r--r-- | src/libmime/received.cxx | 2 |
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)); |