dfilter: Fix dfvm code string
All/any equal have their own symbols for operators so cannot be handled in the same switch case. Other comparisons don't have different symbols for any/all.
This commit is contained in:
parent
84d230d878
commit
6c8a8d7960
|
@ -356,17 +356,25 @@ dfvm_dump_str(wmem_allocator_t *alloc, dfilter_t *df, gboolean print_references)
|
|||
break;
|
||||
|
||||
case DFVM_ALL_EQ:
|
||||
case DFVM_ANY_EQ:
|
||||
wmem_strbuf_append_printf(buf, "%05d %s\t\t%s === %s\n",
|
||||
id, opcode_str, arg1_str, arg2_str);
|
||||
break;
|
||||
|
||||
case DFVM_ANY_EQ:
|
||||
wmem_strbuf_append_printf(buf, "%05d %s\t\t%s == %s\n",
|
||||
id, opcode_str, arg1_str, arg2_str);
|
||||
break;
|
||||
|
||||
case DFVM_ALL_NE:
|
||||
case DFVM_ANY_NE:
|
||||
wmem_strbuf_append_printf(buf, "%05d %s\t\t%s != %s\n",
|
||||
id, opcode_str, arg1_str, arg2_str);
|
||||
break;
|
||||
|
||||
case DFVM_ANY_NE:
|
||||
wmem_strbuf_append_printf(buf, "%05d %s\t\t%s !== %s\n",
|
||||
id, opcode_str, arg1_str, arg2_str);
|
||||
break;
|
||||
|
||||
case DFVM_ALL_GT:
|
||||
case DFVM_ANY_GT:
|
||||
wmem_strbuf_append_printf(buf, "%05d %s\t\t%s > %s\n",
|
||||
|
|
Loading…
Reference in New Issue