mavl instead of avltree.
FossilOrigin-Name: 775da681bbd314b85bd539cbaa29d193dbf2b887a4a5564bf620fa6627768e52
This commit is contained in:
parent
4f713cc0a2
commit
59b936e991
@ -168,9 +168,10 @@ static int cw_action_out_cmp(const void *elem1, const void *elem2)
|
|||||||
void *cw_actionlist_add(struct avltree *t, void *a, size_t s)
|
void *cw_actionlist_add(struct avltree *t, void *a, size_t s)
|
||||||
{
|
{
|
||||||
|
|
||||||
void *r = avltree_replace_data(t, a, sizeof(struct cw_action_in));
|
void *r = mavl_replace_data(t, a, sizeof(struct cw_action_in));
|
||||||
if (r)
|
if (r) {
|
||||||
return r;
|
return r;
|
||||||
|
}
|
||||||
|
|
||||||
void *an = malloc(s);
|
void *an = malloc(s);
|
||||||
if (!an)
|
if (!an)
|
||||||
|
Loading…
Reference in New Issue
Block a user