diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2017-03-28 10:34:26 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-03-28 10:35:01 +0200 |
commit | 6d080d9b9ee2e480717935e4ce94870fc87ea5f7 (patch) | |
tree | baa5d6178914dd12106845ca81c81b63e4249c6f /src/lib/list.c | |
parent | bb97346ab02bcbac8aec84426162979d71970e35 (diff) | |
download | ouroboros-6d080d9b9ee2e480717935e4ce94870fc87ea5f7.tar.gz ouroboros-6d080d9b9ee2e480717935e4ce94870fc87ea5f7.zip |
lib: Use internal ops for list_move
Diffstat (limited to 'src/lib/list.c')
-rw-r--r-- | src/lib/list.c | 2 |
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); } |