提交 5b1afa4a 编写于 作者: A antirez

adlist: fix final list count in listJoin().

上级 717b2eea
......@@ -354,6 +354,7 @@ void listJoin(list *l, list *o) {
l->head = o->head;
l->tail = o->tail;
l->len += o->len;
/* Setup other as an empty list. */
o->head = l->tail = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册