src/lib/list.c: __merge_str_list(): re-prioritize list

Before this commit, values were added from the 'old' list, then from
the 'add' list (provided they were not already added before).

Now, values from the 'add' list takes precedence over the values
from the 'old' list. In other words, values from the 'old' list
are not added if the same values are to be added from the 'add' list.

Should not have any visible effect per se, other than putting the
values from 'add' list to the end of the merged list.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed