diff --git a/src/adlist.c b/src/adlist.c index f0a261b6..e87d25ce 100644 --- a/src/adlist.c +++ b/src/adlist.c @@ -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; }