Commit 87f771bf authored by sunweinan's avatar sunweinan
Browse files

minor fix in listJoin().

parent 634c64dd
...@@ -357,6 +357,6 @@ void listJoin(list *l, list *o) { ...@@ -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;
} }
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