diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-19 12:24:15 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-19 13:47:54 +0000 |
commit | 448eee861df91ecc2c7a505f2463d03cf1112fef (patch) | |
tree | f8693b87ba906f399d8b19804bef0a2800bb51a9 /src/libutil/expression.c | |
parent | 9825f6a5f0a7924899bf87679e5d7708c96f25da (diff) | |
download | rspamd-448eee861df91ecc2c7a505f2463d03cf1112fef.tar.gz rspamd-448eee861df91ecc2c7a505f2463d03cf1112fef.zip |
Select operand on OR operation.
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 928bfad32..4b987ccae 100644 --- a/src/libutil/expression.c +++ b/src/libutil/expression.c @@ -598,6 +598,7 @@ rspamd_process_expression (struct rspamd_expression *expr, gpointer data) g_assert (expr->expression_stack->len > 1); st_elt[0] = rspamd_expr_stack_pop (expr); st_elt[1] = rspamd_expr_stack_pop (expr); + ev = CHOSE_OPERAND (st_elt[0], st_elt[1]); PROCESS_ELT (expr, ev); if (ev->value) { |