X-Git-Url: http://git.droids-corp.org/?p=protos%2Flibecoli.git;a=blobdiff_plain;f=src%2Fecoli_node_cond.c;h=649ecbbcf9c7146c73b0afb30bffc00c4bd14a09;hp=8938830fed8baf73766ae0be091b7ca9284b499f;hb=HEAD;hpb=d7695667f3b6dd2e50e1e100f7cbebd71fe92e0d diff --git a/src/ecoli_node_cond.c b/src/ecoli_node_cond.c index 8938830..649ecbb 100644 --- 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; - 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; @@ -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); - ec_pnode_unlink_child(pstate, child); + ec_pnode_unlink_child(child); ec_pnode_free(child); return EC_PARSE_NOMATCH; }