util: str_list_unique() bugfix
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>
Fri, 13 Nov 2009 01:57:48 +0000 (03:57 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 Nov 2009 10:40:53 +0000 (11:40 +0100)
commitb8ae7980c71de14f6d0ef87599fdad198158d520
tree6493826b87dd8e9a0e22b9b4fd571a6a50ecd6e4
parentb656d79e142a0602e3cadb5b219c1097a3b57112
util: str_list_unique() bugfix

j is actually the index of the last element in the list
size of the list though is j+1 <- to make room for the
terminating NULL element
(cherry picked from commit 5b75201dbb9f2e6799fd5c3eee8da6230caee96c)
(cherry picked from commit 8a5c8d559e6b34544a3cc0811d269d46bcad5182)
util/util_strlist.c