Allow for name array strings that don't end in a slash
authorZach Loafman <zachary.loafman@isilon.com>
Tue, 25 Aug 2009 17:46:37 +0000 (10:46 -0700)
committerTim Prouty <tprouty@samba.org>
Tue, 25 Aug 2009 20:01:57 +0000 (13:01 -0700)
commit808a0d44f84ed668c906eaa6777d2c0743351560
tree66ea0703d3347dd231332ae4165163b9d5efc9df
parent1df18922c613d2d3c8c23b919e435cb1de915eaa
Allow for name array strings that don't end in a slash

Fix set_namearray to allow for strings that don't end in a slash. Also
remove unnecessary strdup()s.

Signed-off-by: Tim Prouty <tprouty@samba.org>
source3/lib/util.c