src/lib/list.c: merge_str_list() generalization

Make generalized __merge_str_list() with an additional find_fn argument.
This enables using function other than find_str() to check if the value
is already in the list.

Make merge_str_list() calling __merge_str_list with find_str as a last
argument.

Should not have any visible effect per se.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
2 files changed