From 6d080d9b9ee2e480717935e4ce94870fc87ea5f7 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Tue, 28 Mar 2017 10:34:26 +0200 Subject: lib: Use internal ops for list_move --- src/lib/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/list.c') diff --git a/src/lib/list.c b/src/lib/list.c index 52270fe8..d5aba058 100644 --- a/src/lib/list.c +++ b/src/lib/list.c @@ -75,5 +75,5 @@ void list_move(struct list_head * n, struct list_head * h) { del_list(n->prv, n->nxt); - list_add(n, h); + add_list(n, h, h->nxt); } -- cgit v1.2.3