Commit 1cefb1c5 authored by sunweinan's avatar sunweinan Committed by antirez
Browse files

minor fix in listJoin().

parent db791a1e
......@@ -357,6 +357,6 @@ void listJoin(list *l, list *o) {
l->len += o->len;
/* Setup other as an empty list. */
o->head = l->tail = NULL;
o->head = o->tail = NULL;
o->len = 0;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment