summaryrefslogtreecommitdiffstats
path: root/__root__
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2015-04-03 19:04:28 +0200
committerJan Pokorný <jpokorny@redhat.com>2015-04-08 19:56:08 +0200
commitb5db7e2d25031564fce347d603717c38998317a2 (patch)
tree9f385455415fab8a59593d45ea18c0be882b8477 /__root__
parente16192064144e8c21a5889e7ae3249848375c048 (diff)
downloadclufter-b5db7e2d25031564fce347d603717c38998317a2.tar.gz
clufter-b5db7e2d25031564fce347d603717c38998317a2.tar.xz
clufter-b5db7e2d25031564fce347d603717c38998317a2.zip
ccs-flatten/restree: propagate also default param values
... as this is the most suitable moment (we will not be parsing resource rules/metadata later again). Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to '__root__')
-rw-r--r--__root__/ccs-flatten/restree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/__root__/ccs-flatten/restree.c b/__root__/ccs-flatten/restree.c
index 7bfefa8..0c9cb14 100644
--- a/__root__/ccs-flatten/restree.c
+++ b/__root__/ccs-flatten/restree.c
@@ -93,8 +93,10 @@ res_do_flatten(xmlNode ** xpp, xmlNode * rmp, resource_node_t * node, const char
if (strcmp(ra->ra_name, res->r_rule->rr_attrs[y].ra_name))
continue;
+#if 0
if (!res->r_rule->rr_attrs[y].ra_value ||
strcmp(val, res->r_rule->rr_attrs[y].ra_value))
+#endif
xmlSetProp(n, (xmlChar *) ra->ra_name, (xmlChar *) val);
}
}