From 59b936e991ce3192082140c34cbcb1461a05ff20 Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Tue, 28 Apr 2015 08:20:50 +0000 Subject: [PATCH] mavl instead of avltree. FossilOrigin-Name: 775da681bbd314b85bd539cbaa29d193dbf2b887a4a5564bf620fa6627768e52 --- src/capwap/action.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/capwap/action.c b/src/capwap/action.c index e9faa8ee..977a5a02 100644 --- a/src/capwap/action.c +++ b/src/capwap/action.c @@ -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)