summaryrefslogtreecommitdiff
path: root/lib/resource.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2019-08-19 14:36:51 +0200
committerMaria Matejka <mq@ucw.cz>2020-05-01 15:19:12 +0200
commit9ac13d7af25d6b26866bf4f4a4fab371925fb1df (patch)
tree26cf5e3b98910f2d32bb92bb9903a141e7344a8c /lib/resource.c
parente26a5195dd6c62e6f4b80d13b6ecd5f40ee68546 (diff)
Lists: Replaced replace_node() by update_node() which is the only use of that function.
Diffstat (limited to 'lib/resource.c')
-rw-r--r--lib/resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/resource.c b/lib/resource.c
index 7e624321..5589373e 100644
--- a/lib/resource.c
+++ b/lib/resource.c
@@ -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;
}