mirror of
https://github.com/samba-team/samba.git
synced 2025-10-28 03:33:13 +03:00
r26338: Fix parameter, typo.
This commit is contained in:
committed by
Stefan Metzmacher
parent
baa5bcd303
commit
2a005096dd
@@ -98,7 +98,7 @@ static int ejs_lpGet(MprVarHandle eid, int argc, char **argv)
|
||||
mpr_Return(eid, mprCreateUndefinedVar());
|
||||
return 0;
|
||||
}
|
||||
parm_ptr = lp_parm_ptr(service, parm);
|
||||
parm_ptr = lp_parm_ptr(global_loadparm, service, parm);
|
||||
} else if (strchr(argv[0], ':')) {
|
||||
/* its a global parametric option */
|
||||
const char *type = talloc_strndup(mprMemCtx(),
|
||||
@@ -123,7 +123,7 @@ static int ejs_lpGet(MprVarHandle eid, int argc, char **argv)
|
||||
mpr_Return(eid, mprCreateUndefinedVar());
|
||||
return 0;
|
||||
}
|
||||
parm_ptr = lp_parm_ptr(NULL, parm);
|
||||
parm_ptr = lp_parm_ptr(global_loadparm, NULL, parm);
|
||||
}
|
||||
|
||||
if (parm == NULL || parm_ptr == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user