diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-06-13 10:01:11 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2005-06-13 10:01:11 +0000 |
commit | b357ac8a823e5f94d240072c66f0a35bc58cd49a (patch) | |
tree | 3147aff4c6bc3dd3a9b04f8cdc88e2403abe594f /source/client | |
parent | 66da9fe0edf8b9798bbcf91cefbcbb057a016db7 (diff) | |
download | samba-b357ac8a823e5f94d240072c66f0a35bc58cd49a.tar.gz samba-b357ac8a823e5f94d240072c66f0a35bc58cd49a.tar.xz samba-b357ac8a823e5f94d240072c66f0a35bc58cd49a.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
Diffstat (limited to 'source/client')
-rw-r--r-- | source/client/smbmount.c | 2 | ||||
-rw-r--r-- | source/client/smbspool.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/client/smbmount.c b/source/client/smbmount.c index 7e9c74da573..45c5f703cea 100644 --- a/source/client/smbmount.c +++ b/source/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/source/client/smbspool.c b/source/client/smbspool.c index 620e4b301c1..41cb4c9bf30 100644 --- a/source/client/smbspool.c +++ b/source/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); |