1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Lists: Replaced replace_node() by update_node() which is the only use of that function.

This commit is contained in:
Maria Matejka
2019-08-19 14:36:51 +02:00
parent e26a5195dd
commit 9ac13d7af2
3 changed files with 17 additions and 26 deletions

View File

@@ -388,7 +388,7 @@ mb_realloc(void *m, unsigned size)
struct mblock *b = SKIP_BACK(struct mblock, data, m);
b = xrealloc(b, sizeof(struct mblock) + size);
replace_node(&b->r.n, &b->r.n);
update_node(&b->r.n);
b->size = size;
return b->data;
}