lib/param: change set_variable to be more consistent with s3 loadparm
authorGarming Sam <garming@catalyst.net.nz>
Tue, 25 Feb 2014 23:06:03 +0000 (12:06 +1300)
committerJeremy Allison <jra@samba.org>
Wed, 7 May 2014 17:49:17 +0000 (19:49 +0200)
commit466f42fdb9062cd5a8bbb3f1cb4ed1fe0702e4d3
treef0f403f688faa1231cba29922de56a71d6f4f578
parent7b1c078a6ff2e271d896fffc9c44874d4e9042dd
lib/param: change set_variable to be more consistent with s3 loadparm

Correctly frees CMDLIST memory and uses lp_int instead of atoi.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>