util: str_list_unique() bugfix
commit068cbdb5e264ab072b7914aaa3f9b925f26a5ceb
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>
Fri, 13 Nov 2009 01:57:48 +0000 (13 03:57 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 Nov 2009 10:40:53 +0000 (26 11:40 +0100)
tree444e8a309418e9ee84a7d0b392fb7ac4857d3ab9
parent44c2030a3b5f09e3041b14b1646481fe9ad496a4
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)
lib/util/util_strlist.c