diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-19 13:47:19 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-19 13:47:55 +0000 |
commit | d0be293f26243092063612fe28f064415f8fc7ff (patch) | |
tree | ecdc921588bfc0a9a020057b035e01f4ee6eaa7f /src/libutil/expression.c | |
parent | 919ac543a6903875f0aa7791163e87267a92f881 (diff) | |
download | rspamd-d0be293f26243092063612fe28f064415f8fc7ff.tar.gz rspamd-d0be293f26243092063612fe28f064415f8fc7ff.zip |
Fix processing of a single element.
Diffstat (limited to 'src/libutil/expression.c')
-rw-r--r-- | src/libutil/expression.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/expression.c b/src/libutil/expression.c index ca3983df5..04ddc8750 100644 --- a/src/libutil/expression.c +++ b/src/libutil/expression.c @@ -794,6 +794,7 @@ rspamd_process_expression (struct rspamd_expression *expr, gpointer data) g_assert (expr->expression_stack->len == 1); ev = rspamd_expr_stack_pop (expr); + PROCESS_ELT (expr, ev); ret = ev->value; /* Cleanup */ |