diff options
author | Martin Pool <mbp@samba.org> | 2001-11-19 02:49:53 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2001-11-19 02:49:53 +0000 |
commit | f741f656737f4ec46cd318e986b6bf412ed309d2 (patch) | |
tree | fb2b1999441e25ae5db177631dd42abb051a9bce /source3/smbwrapper/smbw.c | |
parent | a1b9de0b9872b91574e75bb360d49b887a072389 (diff) | |
download | samba-f741f656737f4ec46cd318e986b6bf412ed309d2.tar.gz samba-f741f656737f4ec46cd318e986b6bf412ed309d2.tar.xz samba-f741f656737f4ec46cd318e986b6bf412ed309d2.zip |
Store some path names in global variables initialized to configure
default, rather than in preprocessor macros.
(This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
Diffstat (limited to 'source3/smbwrapper/smbw.c')
-rw-r--r-- | source3/smbwrapper/smbw.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/smbwrapper/smbw.c b/source3/smbwrapper/smbw.c index 3c7f4926f6d..24d09e2d423 100644 --- a/source3/smbwrapper/smbw.c +++ b/source3/smbwrapper/smbw.c @@ -45,7 +45,6 @@ void smbw_init(void) { extern BOOL in_client; static int initialised; - static pstring servicesf = CONFIGFILE; char *p; int eno; pstring line; @@ -76,10 +75,10 @@ void smbw_init(void) load_interfaces(); if ((p=smbw_getshared("SERVICESF"))) { - pstrcpy(servicesf, p); + pstrcpy(dyn_CONFIGFILE, p); } - lp_load(servicesf,True,False,False); + lp_load(dyn_CONFIGFILE,True,False,False); get_myname(global_myname); |