diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-03-20 09:44:59 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-07-07 23:32:36 +0200 |
commit | 6ad9333784dc4d02e57548c08af07af4f62732a0 (patch) | |
tree | 78707073cffddbb723239fb581d8fbe0fb0fba75 /source3/lib/popt_common.c | |
parent | bdbafe51daa1d338776b33197ba0fc53dc974827 (diff) | |
download | samba-6ad9333784dc4d02e57548c08af07af4f62732a0.tar.gz samba-6ad9333784dc4d02e57548c08af07af4f62732a0.tar.xz samba-6ad9333784dc4d02e57548c08af07af4f62732a0.zip |
param: avoid the use of lp_do_parameter in popt
lp_do_parameter ideally should not be used outside of loadparm
Change-Id: I310f1a0ff81867151accbda551751bafcdfd8c4d
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
Diffstat (limited to 'source3/lib/popt_common.c')
-rw-r--r-- | source3/lib/popt_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/popt_common.c b/source3/lib/popt_common.c index be13004e6e..df0465d9b4 100644 --- a/source3/lib/popt_common.c +++ b/source3/lib/popt_common.c @@ -128,7 +128,7 @@ static void popt_common_callback(poptContext con, case 'O': if (arg) { - lp_do_parameter(-1, "socket options", arg); + lp_set_cmdline("socket options", arg); } break; |