summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-27 16:36:14 +0200
committerMichael Adam <obnox@samba.org>2011-07-28 11:17:31 +0200
commit4a21e50474d1d769e410dcfc834c5c43892b41cf (patch)
tree1209797e590690748e8e7b86225e7ff5f5f9fe0f
parenta7e921900236886f368e50d3c5ca82317558d63a (diff)
downloadsamba-4a21e50474d1d769e410dcfc834c5c43892b41cf.tar.gz
samba-4a21e50474d1d769e410dcfc834c5c43892b41cf.tar.bz2
samba-4a21e50474d1d769e410dcfc834c5c43892b41cf.zip
s3:rpcclient: use the lp_load_global() wrapper of lp_load()
-rw-r--r--source3/rpcclient/rpcclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 1c0c21f574..c195d289ab 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -976,7 +976,7 @@ out_free:
/* Load smb.conf file */
- if (!lp_load(get_dyn_CONFIGFILE(),True,False,False,True))
+ if (!lp_load_global(get_dyn_CONFIGFILE()))
fprintf(stderr, "Can't load %s\n", get_dyn_CONFIGFILE());
/*