* the RHS.
*/
cmp = (value_data_cmp_op(map->op, a->da->type, &a->data, a->vp_length, b->da->type, &b->data, b->vp_length) == 0);
- switch (map->op) {
+ if (cmp == 1) switch (map->op) {
/*
* Keep only matching attributes.
case T_OP_NE:
case T_OP_REG_EQ:
case T_OP_CMP_EQ:
- if (cmp == 0) break;
-
a = fr_cursor_remove(&dst_list);
talloc_free(a);
break;
case T_OP_GT:
case T_OP_LE:
case T_OP_LT:
- if (cmp == 0) break;
-
DEBUG_OVERWRITE(a, b);
(void) value_data_copy(a, &a->data, a->da->type,
&b->data, b->vp_length);