aboutsummaryrefslogtreecommitdiffstats
path: root/src/expressions.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-24 13:24:17 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-24 13:24:17 +0300
commitc9c29d4163deb873c9d66104639484e3a9ced2b1 (patch)
tree98cf2be3b3a2679ac27bc281b4970ea8bf327922 /src/expressions.c
parenta0320ce847fb75f83e3c060ece2751f3d6684f05 (diff)
downloadrspamd-c9c29d4163deb873c9d66104639484e3a9ced2b1.tar.gz
rspamd-c9c29d4163deb873c9d66104639484e3a9ced2b1.zip
* Use pool allocator for temp strings in headers
Diffstat (limited to 'src/expressions.c')
-rw-r--r--src/expressions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expressions.c b/src/expressions.c
index 46a4f17fe..a6b6ec9a1 100644
--- a/src/expressions.c
+++ b/src/expressions.c
@@ -597,7 +597,7 @@ rspamd_header_exists (struct worker_task *task, GList *args)
return FALSE;
}
- headerlist = message_get_header (task->message, (char *)arg->data);
+ headerlist = message_get_header (task->task_pool, task->message, (char *)arg->data);
if (headerlist) {
g_list_free (headerlist);
return TRUE;