diff options
author | Michael Adam <obnox@samba.org> | 2011-07-27 16:29:04 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-07-28 11:17:30 +0200 |
commit | 88ee6973f0bf5d5e5f6f9552ce065e109663828e (patch) | |
tree | 9351e1300edb4fb0ba57870ef9e0150debaac54a | |
parent | 2c3a1f44fafaacde5f966ebd646e3aa1dc20468e (diff) | |
download | samba-88ee6973f0bf5d5e5f6f9552ce065e109663828e.tar.gz samba-88ee6973f0bf5d5e5f6f9552ce065e109663828e.tar.bz2 samba-88ee6973f0bf5d5e5f6f9552ce065e109663828e.zip |
s3:libsmbconf: use lp_load_global() in the testsuite
-rw-r--r-- | source3/lib/smbconf/testsuite.c | 7 |
1 files changed, 1 insertions, 6 deletions
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; |