param: pre-emptively correct use of str_list_make_v3 in lib/param
authorGarming Sam <garming@catalyst.net.nz>
Thu, 13 Mar 2014 00:27:24 +0000 (13:27 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 7 Jul 2014 21:32:35 +0000 (23:32 +0200)
commit72651f92f0d35c026978e765cd9f8e0867c44af3
treedb9b4ad805f50928de3d6b5abee16898a71e0904
parente9a2694e2b50e8be195ae7b22efd5ad9dc7b47e7
param: pre-emptively correct use of str_list_make_v3 in lib/param

lib/param uses str_list_make, while, s3 uses str_list_make_v3. These
differ slightly and should be made the same.

Notably it returns NULL when given a null or empty string

Also, includes the null check in s3 code to be consistent for merging
this section of code later on.

Change-Id: Ib543a5a5307e06989621ea16bfe87e315d66a7ef
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
lib/param/loadparm.c
source3/param/loadparm.c