summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/smbw.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbwrapper/smbw.c')
-rw-r--r--source3/smbwrapper/smbw.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/smbwrapper/smbw.c b/source3/smbwrapper/smbw.c
index 3c7f4926f6..24d09e2d42 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);