1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s3:libsmbconf: use lp_load_global() in the testsuite

This commit is contained in:
Michael Adam 2011-07-27 16:29:04 +02:00
parent 2c3a1f44fa
commit 88ee6973f0

View File

@ -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;