summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-03-28 10:34:26 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-03-28 10:35:01 +0200
commit6d080d9b9ee2e480717935e4ce94870fc87ea5f7 (patch)
treebaa5d6178914dd12106845ca81c81b63e4249c6f /src
parentbb97346ab02bcbac8aec84426162979d71970e35 (diff)
downloadouroboros-6d080d9b9ee2e480717935e4ce94870fc87ea5f7.tar.gz
ouroboros-6d080d9b9ee2e480717935e4ce94870fc87ea5f7.zip
lib: Use internal ops for list_move
Diffstat (limited to 'src')
-rw-r--r--src/lib/list.c2
1 files changed, 1 insertions, 1 deletions
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);
}