aboutsummaryrefslogtreecommitdiffstats
path: root/src/expressions.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-05-04 19:35:45 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-05-04 19:35:45 +0400
commit9f1cf4fe474abd3f56da5e5ac9abd27f0ebd4c2b (patch)
treed57ef19c079d27024586a078acff349aa8b37c9b /src/expressions.h
parent05556b30f9f309abc532f26c86a2e8266c2e72c7 (diff)
downloadrspamd-9f1cf4fe474abd3f56da5e5ac9abd27f0ebd4c2b.tar.gz
rspamd-9f1cf4fe474abd3f56da5e5ac9abd27f0ebd4c2b.zip
* Fix error in regexps results hashing
Diffstat (limited to 'src/expressions.h')
-rw-r--r--src/expressions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expressions.h b/src/expressions.h
index 06034c485..6ee5d97e9 100644
--- a/src/expressions.h
+++ b/src/expressions.h
@@ -101,7 +101,7 @@ void * re_cache_check (const char *line);
* @param pointer regexp data
* @param result numeric result of this regexp
*/
-void task_cache_add (struct worker_task *task, void *pointer, int32_t result);
+void task_cache_add (struct worker_task *task, struct rspamd_regexp *re, int32_t result);
/**
* Check regexp in cache
@@ -109,7 +109,7 @@ void task_cache_add (struct worker_task *task, void *pointer, int32_t result);
* @param pointer regexp data
* @return numeric result if value exists or -1 if not
*/
-int32_t task_cache_check (struct worker_task *task, void *pointer);
+int32_t task_cache_check (struct worker_task *task, struct rspamd_regexp *re);
/**
* Parse and return a single function argument for a function (may recurse)