summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);
}