commit 1589bd1: [Minor] Use the proper variable in debug

Vsevolod Stakhov vsevolod at highsecure.ru
Sat Sep 18 12:00:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-09-18 09:35:51 +0100
URL: https://github.com/rspamd/rspamd/commit/1589bd19ff7c841203c548de2c5897e0f0f22c6d

[Minor] Use the proper variable in debug
Found by: coverity scan

---
 src/libutil/expression.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libutil/expression.c b/src/libutil/expression.c
index 7dddfa72f..ad78c0fcd 100644
--- a/src/libutil/expression.c
+++ b/src/libutil/expression.c
@@ -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;


More information about the Commits mailing list