mavl instead of avltree.

FossilOrigin-Name: 775da681bbd314b85bd539cbaa29d193dbf2b887a4a5564bf620fa6627768e52
This commit is contained in:
7u83@mail.ru 2015-04-28 08:20:50 +00:00
parent 4f713cc0a2
commit 59b936e991
1 changed files with 3 additions and 2 deletions

View File

@ -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 *r = avltree_replace_data(t, a, sizeof(struct cw_action_in));
if (r)
void *r = mavl_replace_data(t, a, sizeof(struct cw_action_in));
if (r) {
return r;
}
void *an = malloc(s);
if (!an)