mirror of
https://github.com/fluencelabs/redis
synced 2025-05-14 19:41:21 +00:00
minor fix in listJoin().
This commit is contained in:
parent
db791a1eee
commit
1cefb1c54b
@ -357,6 +357,6 @@ void listJoin(list *l, list *o) {
|
|||||||
l->len += o->len;
|
l->len += o->len;
|
||||||
|
|
||||||
/* Setup other as an empty list. */
|
/* Setup other as an empty list. */
|
||||||
o->head = l->tail = NULL;
|
o->head = o->tail = NULL;
|
||||||
o->len = 0;
|
o->len = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user