Merge pull request #4106 from petersunbag/unstable

minor fix in listJoin().
This commit is contained in:
Salvatore Sanfilippo 2017-07-06 14:29:37 +02:00 committed by GitHub
commit 2d5aa00959

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