]> source.dussan.org Git - rspamd.git/commitdiff
Fix expressions order.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 26 Mar 2015 15:57:55 +0000 (15:57 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 26 Mar 2015 15:57:55 +0000 (15:57 +0000)
src/libutil/expression.c

index 34ca189685700efbf85741bb5610d95a119a4085..f06a9b2215bf595d2639d9165fc695f20b50bd27 100644 (file)
@@ -333,8 +333,8 @@ rspamd_ast_add_node (GArray *operands, struct rspamd_expression_elt *op)
        }
        else {
                /* For binary operators we might want to examine chains */
-               a1 = rspamd_expr_stack_elt_pop (operands);
                a2 = rspamd_expr_stack_elt_pop (operands);
+               a1 = rspamd_expr_stack_elt_pop (operands);
 
                /* First try with a1 */
                test = a1;