mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
adlist: fix final list count in listJoin().
This commit is contained in:
parent
79226cb9fa
commit
e67fb915eb
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user