From 88ee6973f0bf5d5e5f6f9552ce065e109663828e Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 27 Jul 2011 16:29:04 +0200 Subject: s3:libsmbconf: use lp_load_global() in the testsuite --- source3/lib/smbconf/testsuite.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/smbconf/testsuite.c b/source3/lib/smbconf/testsuite.c index c2a9a59cbe..9e679362a3 100644 --- a/source3/lib/smbconf/testsuite.c +++ b/source3/lib/smbconf/testsuite.c @@ -304,12 +304,7 @@ int main(int argc, const char **argv) poptFreeContext(pc); - ret = lp_load(get_dyn_CONFIGFILE(), - true, /* globals_only */ - false, /* save_defaults */ - false, /* add_ipc */ - true /* initialize globals */); - + ret = lp_load_global(get_dyn_CONFIGFILE()); if (!ret) { printf("failure: error loading the configuration\n"); goto done; -- cgit