git.droids-corp.org
/
protos
/
libecoli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
api documentation for ec_parse
[protos/libecoli.git]
/
src
/
ecoli_node_cond.c
diff --git
a/src/ecoli_node_cond.c
b/src/ecoli_node_cond.c
index
8938830
..
649ecbb
100644
(file)
--- a/
src/ecoli_node_cond.c
+++ b/
src/ecoli_node_cond.c
@@
-224,7
+224,7
@@
eval_root(const struct ec_pnode *pstate, struct cond_result **in, size_t in_len)
if (out->htable == NULL)
goto fail;
if (out->htable == NULL)
goto fail;
- root =
ec_pnode_get_root
(pstate);
+ root =
EC_PNODE_GET_ROOT
(pstate);
if (ec_htable_set(out->htable, &root, sizeof(root), NULL, NULL) < 0)
goto fail;
if (ec_htable_set(out->htable, &root, sizeof(root), NULL, NULL) < 0)
goto fail;
@@
-717,7
+717,7
@@
ec_node_cond_parse(const struct ec_node *node, struct ec_pnode *pstate,
if (valid == 0) {
child = ec_pnode_get_last_child(pstate);
if (valid == 0) {
child = ec_pnode_get_last_child(pstate);
- ec_pnode_unlink_child(
pstate,
child);
+ ec_pnode_unlink_child(child);
ec_pnode_free(child);
return EC_PARSE_NOMATCH;
}
ec_pnode_free(child);
return EC_PARSE_NOMATCH;
}