minor fix in listJoin().

This commit is contained in:
sunweinan 2017-07-06 19:47:21 +08:00
parent 634c64dd18
commit 87f771bff1

View File

@ -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;
}