s3-param Fix up lp_set_cmdline() not to re-store cmdline options on each reload
authorAndrew Bartlett <abartlet@samba.org>
Tue, 2 Nov 2010 04:33:42 +0000 (15:33 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 2 Nov 2010 05:19:17 +0000 (05:19 +0000)
commitb717ec26d96d5285f554c56c01d885c19b1c9b65
tree6a3284516096ccf5ad84ea381ab76677f8e0a087
parent7d0f04a651e4bed7e1e6d587a1bdaf3cfa6f9e33
s3-param Fix up lp_set_cmdline() not to re-store cmdline options on each reload

The previous code was buggy in that it did not honour the 'store'
argument to lp_set_cmdline_helper(), and would use the stored
parameter after freeing it when handling overwritten values.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Nov  2 05:19:17 UTC 2010 on sn-devel-104
source3/param/loadparm.c