git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdbafe5
)
param: avoid the use of lp_do_parameter in popt
author
Garming Sam
<garming@catalyst.net.nz>
Wed, 19 Mar 2014 20:44:59 +0000
(09:44 +1300)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 7 Jul 2014 21:32:36 +0000
(23:32 +0200)
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>
source3/lib/popt_common.c
patch
|
blob
|
history
diff --git
a/source3/lib/popt_common.c
b/source3/lib/popt_common.c
index be13004e6ea30c1c1849c64e13024b1e391e9163..df0465d9b45c98e370b7ae55d5b2067a03e73c57 100644
(file)
--- 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;