1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-09 20:23:51 +03:00

r26275: return loadparm context in lp_load.

This commit is contained in:
Jelmer Vernooij
2007-12-04 00:12:13 +01:00
committed by Stefan Metzmacher
parent 3809113d86
commit d01f0f4c20
11 changed files with 51 additions and 34 deletions

View File

@@ -187,7 +187,9 @@ static int ejs_lpSet(MprVarHandle eid, int argc, char **argv)
*/
static int ejs_lpReload(MprVarHandle eid, int argc, char **argv)
{
bool ret = lp_load(lp_configfile(global_loadparm));
bool ret;
ret = lp_load(lp_configfile(global_loadparm), NULL);
if (ret) {
unload_interfaces();
}