aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-12 16:11:17 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-12 16:11:17 +0400
commit8295b2b3bc80219658818862f9cb0d22e09d04bd (patch)
treef880e7f83d05e3c4499a74c27aa22a51d4fbb888 /src
parent7963b88f75ce6e51d9e90e1a660596bdc5bb5313 (diff)
downloadrspamd-8295b2b3bc80219658818862f9cb0d22e09d04bd.tar.gz
rspamd-8295b2b3bc80219658818862f9cb0d22e09d04bd.zip
* Set resolver inside task
Diffstat (limited to 'src')
-rw-r--r--src/smtp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/smtp.c b/src/smtp.c
index 4108d56e4..e8b6023bb 100644
--- a/src/smtp.c
+++ b/src/smtp.c
@@ -373,6 +373,7 @@ process_smtp_data (struct smtp_session *session)
session->temp_size = st.st_size;
if (session->ctx->max_size == 0 || st.st_size < session->ctx->max_size) {
session->task = construct_task (session->worker);
+ session->task->resolver = session->resolver;
session->task->fin_callback = smtp_write_socket;
session->task->fin_arg = session;
session->task->msg = memory_pool_alloc (session->pool, sizeof (f_str_t));