1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2024-06-16 06:15:24 +00:00

Fix: Actually insert nodes into the tree if they are new

This commit is contained in:
Philipp Schafft 2018-07-26 13:08:25 +00:00
parent 7d2b9fa3fd
commit 1f57410788

View File

@ -594,6 +594,8 @@ static void _httpp_set_param_nocopy(avl_tree *tree, char *name, char *value, int
if (replace && found) {
avl_delete(tree, (void *)found, _free_vars);
avl_insert(tree, (void *)var);
} else if (!found) {
avl_insert(tree, (void *)var);
}
}