From 87f771bff1004ca61018047e05322690198c816e Mon Sep 17 00:00:00 2001 From: sunweinan Date: Thu, 6 Jul 2017 19:47:21 +0800 Subject: [PATCH] minor fix in listJoin(). --- src/adlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }