summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-03-31 23:21:19 +0000
committerMartin Mares <mj@ucw.cz>2000-03-31 23:21:19 +0000
commit08732b71784b640aebbea88d4452f4c5987d0a09 (patch)
tree947686d068f2fc1c721e6d395da83c4fb550fb89 /nest
parent65e55e9cca38828980123ea64fe203d799a20810 (diff)
Fixed bug in processing of dynamic attributes.
Diffstat (limited to 'nest')
-rw-r--r--nest/rt-attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-attr.c b/nest/rt-attr.c
index 75cdf39b..8dc2e7eb 100644
--- a/nest/rt-attr.c
+++ b/nest/rt-attr.c
@@ -222,7 +222,7 @@ ea_list_copy(ea_list *o)
for(i=0; i<o->count; i++)
{
eattr *a = &n->attrs[i];
- if (!(a->flags & EAF_EMBEDDED))
+ if (!(a->type & EAF_EMBEDDED))
{
unsigned size = sizeof(struct adata) + a->u.ptr->length;
struct adata *d = mb_alloc(rta_pool, size);