aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_file.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-09-05 19:29:32 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-09-05 19:34:36 +0100
commite809039a9e84cb6235a6447d1c9c8fc34ddcf8c6 (patch)
treec5435d9d86da70b40e10ab4502e972c86410cb52 /src/libserver/cfg_file.h
parent745bc065bb4ad94296bb61c2d1338fb9f433025f (diff)
downloadrspamd-e809039a9e84cb6235a6447d1c9c8fc34ddcf8c6.tar.gz
rspamd-e809039a9e84cb6235a6447d1c9c8fc34ddcf8c6.zip
[Fix] Remove incorrect method `task:set_metric_subject`
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r--src/libserver/cfg_file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h
index d96c6e474..48f352f49 100644
--- a/src/libserver/cfg_file.h
+++ b/src/libserver/cfg_file.h
@@ -269,7 +269,7 @@ struct rspamd_metric {
gdouble unknown_weight; /**< weight of unknown symbols */
gdouble grow_factor; /**< grow factor for metric */
GHashTable *symbols; /**< weights of symbols in metric */
- gchar *subject; /**< subject rewrite string */
+ const gchar *subject; /**< subject rewrite string */
GHashTable * groups; /**< groups of symbols */
struct metric_action actions[METRIC_ACTION_MAX]; /**< all actions of the metric */
};