diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-07-22 20:55:28 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-07-22 20:55:28 +0400 |
commit | cba8f14abab46234da3089aff075887757ca2afa (patch) | |
tree | 3c0a4b76e4e18bd1646d59510b2c7fb84ba35a4a /src/filter.c | |
parent | ecc3b51cfdd7aecdb7a02791424d8e8cfcd22453 (diff) | |
download | rspamd-cba8f14abab46234da3089aff075887757ca2afa.tar.gz rspamd-cba8f14abab46234da3089aff075887757ca2afa.zip |
* Add received headers parser
Diffstat (limited to 'src/filter.c')
-rw-r--r-- | src/filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filter.c b/src/filter.c index a1894603d..55c8b2a00 100644 --- a/src/filter.c +++ b/src/filter.c @@ -388,12 +388,12 @@ composites_foreach_callback (gpointer key, gpointer value, void *data) static gboolean check_autolearn (struct statfile_autolearn_params *params, struct worker_task *task) { - const char *metric_name = DEFAULT_METRIC; + char *metric_name = DEFAULT_METRIC; struct metric_result *metric_res; GList *cur; if (params->metric != NULL) { - metric_name = params->metric; + metric_name = (char *)params->metric; } /* First check threshold */ |