• antirez's avatar
    adlist: fix listJoin() in the case the second list is empty. · 4a60fbd8
    antirez authored
    See #4192, the original PR removed lines of code that are actually
    needed, so thanks to @chunqiulfq for reporting the problem, but merging
    solution from @jeesyn after checking, together with @artix75, that the
    logic covers all the cases.
    4a60fbd8
adlist.c 10 KB