aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/expression.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-17 17:08:02 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-17 17:08:02 +0000
commit03d07c2a7511c5a56d92d7373d54275182a2bcf6 (patch)
tree71be308bd32912b8f3fd09fe353d8b254ceb85a1 /src/libutil/expression.h
parent6d65818ca24f83e6b606cd291b3fe17e288f2b07 (diff)
downloadrspamd-03d07c2a7511c5a56d92d7373d54275182a2bcf6.tar.gz
rspamd-03d07c2a7511c5a56d92d7373d54275182a2bcf6.zip
Constify subr structure.
Diffstat (limited to 'src/libutil/expression.h')
-rw-r--r--src/libutil/expression.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/expression.h b/src/libutil/expression.h
index 7d771963d..8605bbbda 100644
--- a/src/libutil/expression.h
+++ b/src/libutil/expression.h
@@ -65,7 +65,7 @@ struct rspamd_expression;
* @return TRUE if an expression have been parsed
*/
gboolean rspamd_parse_expression (const gchar *line, gsize len,
- struct rspamd_atom_subr *subr, gpointer subr_data,
+ const struct rspamd_atom_subr *subr, gpointer subr_data,
rspamd_mempool_t *pool, GError **err,
struct rspamd_expression **target);