From 7c41dda1b3195c9e6cdca3fb1cc04d5cfeb1bdbe Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 28 Jul 2011 10:34:09 +0200 Subject: s3:split_tokens: use lp_load_global(), fixing the call to lp_load() this does not need share and it dos not need to save defaults --- source3/utils/split_tokens.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/utils/split_tokens.c b/source3/utils/split_tokens.c index 3de5f393d9..483311cc0d 100644 --- a/source3/utils/split_tokens.c +++ b/source3/utils/split_tokens.c @@ -59,7 +59,7 @@ int main(int argc, const char *argv[]) lp_set_cmdline("log level", "0"); - if (!lp_load(config_file,false,true,false,true)) { + if (!lp_load_global(config_file)) { fprintf(stderr,"Error loading services.\n"); return 1; } -- cgit