s3-loadparm: Added some comments to lp_load_ex calls.
authorAndreas Schneider <asn@samba.org>
Mon, 9 Aug 2010 12:50:12 +0000 (14:50 +0200)
committerSimo Sorce <idra@samba.org>
Fri, 13 Aug 2010 16:20:10 +0000 (12:20 -0400)
Signed-off-by: Simo Sorce <idra@samba.org>
source3/param/loadparm.c

index 90699c06d82b4b3fe02527c5b5116536e0e1587d..e5c6038d91b50604c27d351d6c330ec345a3d68c 100644 (file)
@@ -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*/
 }
 
 /***************************************************************************