diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-06-13 10:01:11 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:07 -0500 |
commit | 00e2b7c1b49b128488cf977b40b086b935fb605a (patch) | |
tree | 0d68e4e6359ed6f9e2971dc6986db726ca1af6ac /source4/client | |
parent | 68c15667f5c80b1990616829301990315c9a2254 (diff) | |
download | samba-00e2b7c1b49b128488cf977b40b086b935fb605a.tar.gz samba-00e2b7c1b49b128488cf977b40b086b935fb605a.tar.bz2 samba-00e2b7c1b49b128488cf977b40b086b935fb605a.zip |
r7530: Simply calling convention of lp_load().
This always loads all the services, as we now don't have an easy way
to split out smbd.
Andrew Bartlett
(This used to be commit 990e061939c76b559c4f5914c5fc6ca1b13e19dd)
Diffstat (limited to 'source4/client')
-rw-r--r-- | source4/client/smbmount.c | 2 | ||||
-rw-r--r-- | source4/client/smbspool.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/client/smbmount.c b/source4/client/smbmount.c index 7e9c74da57..45c5f703ce 100644 --- a/source4/client/smbmount.c +++ b/source4/client/smbmount.c @@ -898,7 +898,7 @@ static void parse_mount_smb(int argc, char **argv) pstrcpy(username,getenv("LOGNAME")); } - if (!lp_load(dyn_CONFIGFILE,True,False,False)) { + if (!lp_load(dyn_CONFIGFILE)) { fprintf(stderr, "Can't load %s - run testparm to debug it\n", dyn_CONFIGFILE); } diff --git a/source4/client/smbspool.c b/source4/client/smbspool.c index 620e4b301c..41cb4c9bf3 100644 --- a/source4/client/smbspool.c +++ b/source4/client/smbspool.c @@ -186,7 +186,7 @@ static int smb_print(struct smbcli_state *, char *, FILE *); in_client = True; /* Make sure that we tell lp_load we are */ - if (!lp_load(dyn_CONFIGFILE, True, False, False)) + if (!lp_load(dyn_CONFIGFILE)) { fprintf(stderr, "ERROR: Can't load %s - run testparm to debug it\n", dyn_CONFIGFILE); return (1); |