Skip to content

Commit

Permalink
Merge pull request #4106 from petersunbag/unstable
Browse files Browse the repository at this point in the history
minor fix in listJoin().
  • Loading branch information
antirez committed Jul 6, 2017
2 parents 2b36950 + 87f771b commit 2d5aa00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adlist.c
Expand Up @@ -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;
}

0 comments on commit 2d5aa00

Please sign in to comment.