s3:nmbd: use the lp_load_global() wrapper of lp_load()
authorMichael Adam <obnox@samba.org>
Wed, 27 Jul 2011 14:34:53 +0000 (16:34 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 28 Jul 2011 09:17:31 +0000 (11:17 +0200)
source3/nmbd/nmbd.c

index e8a8b0ead92bd2cf5ffb013d4b144c913a852315..ceec2fdf9d9eb2149b94255e19238c4989e56725 100644 (file)
@@ -366,7 +366,7 @@ static bool reload_nmbd_services(bool test)
        if ( test && !lp_file_list_changed() )
                return(True);
 
-       ret = lp_load(get_dyn_CONFIGFILE(), True , False, False, True);
+       ret = lp_load_global(get_dyn_CONFIGFILE());
 
        /* perhaps the config filename is now set */
        if ( !test ) {