commit | 2f6732431912069d5abf6b30024eadda5af54e2c | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed Jul 06 00:54:14 2011 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Jul 06 01:11:37 2011 +0400 |
tree | 1760266f0d793e1fa20cb7a89af6210afe9e4356 | |
parent | 9f41f9263ce552b387bc3047d6a77cceba33865b [diff] |
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>