]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Use the proper variable in debug
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 18 Sep 2021 08:35:51 +0000 (09:35 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 18 Sep 2021 08:35:51 +0000 (09:35 +0100)
Found by: coverity scan

src/libutil/expression.c

index 7dddfa72f9c4996874c0e3933d4ac2dddb4e87d7..ad78c0fcdf6d1c0aa2fa4a928a78da9bd9acc9ee 100644 (file)
@@ -1133,7 +1133,7 @@ rspamd_parse_expression (const gchar *line, gsize len,
                                                "rewind stack; op: %s",
                                e->expression_stack->len,
                                operand_stack->len,
-                               rspamd_expr_op_to_str (op));
+                               rspamd_expr_op_to_str (op_stack));
 
                if (op_stack != OP_OBRACE) {
                        elt.type = ELT_OP;