summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-03-14 10:06:44 +0100
committerMaria Matejka <mq@ucw.cz>2022-04-06 18:14:08 +0200
commit63cf5d5d8c8e156a1f427614c8017ca71c32191c (patch)
tree0c47dab941db9e4fd20f10c2fd99ec4e2b2b60e1 /filter
parentaf8568a8700b83f4d1946b7075fa3eac96d1d5b6 (diff)
Eattr flags (originated and fresh) get their own struct fields
Diffstat (limited to 'filter')
-rw-r--r--filter/f-inst.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/filter/f-inst.c b/filter/f-inst.c
index 83d86295..e2212c5b 100644
--- a/filter/f-inst.c
+++ b/filter/f-inst.c
@@ -737,7 +737,9 @@
l->count = 1;
l->attrs[0].id = da.ea_code;
l->attrs[0].flags = 0;
- l->attrs[0].type = da.type | EAF_ORIGINATED | EAF_FRESH;
+ l->attrs[0].type = da.type;
+ l->attrs[0].originated = 1;
+ l->attrs[0].fresh = 1;
switch (da.type) {
case EAF_TYPE_INT:
@@ -800,7 +802,9 @@
l->count = 1;
l->attrs[0].id = da.ea_code;
l->attrs[0].flags = 0;
- l->attrs[0].type = EAF_TYPE_UNDEF | EAF_ORIGINATED | EAF_FRESH;
+ l->attrs[0].type = EAF_TYPE_UNDEF;
+ l->attrs[0].originated = 1;
+ l->attrs[0].fresh = 1;
l->attrs[0].u.data = 0;
f_rta_cow(fs);