From 4a5cef82d8c2a0f35e9c06a0dc262fdb367279a1 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 9 Aug 2010 14:50:12 +0200 Subject: s3-loadparm: Added some comments to lp_load_ex calls. Signed-off-by: Simo Sorce --- source3/param/loadparm.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'source3/param') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 90699c06d8..e5c6038d91 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -9296,18 +9296,19 @@ bool lp_load(const char *pszFname, save_defaults, add_ipc, initialize_globals, - true, false); + true, /* allow_include_registry */ + false); /* allow_registry_shares*/ } bool lp_load_initial_only(const char *pszFname) { return lp_load_ex(pszFname, - true, - false, - false, - true, - false, - false); + true, /* global only */ + false, /* save_defaults */ + false, /* add_ipc */ + true, /* initialize_globals */ + false, /* allow_include_registry */ + false); /* allow_registry_shares*/ } bool lp_load_with_registry_shares(const char *pszFname, @@ -9321,8 +9322,8 @@ bool lp_load_with_registry_shares(const char *pszFname, save_defaults, add_ipc, initialize_globals, - true, - true); + true, /* allow_include_registry */ + true); /* allow_registry_shares*/ } /*************************************************************************** -- cgit