diff options
author | Tim Potter <tpot@samba.org> | 2002-01-09 04:17:24 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-01-09 04:17:24 +0000 |
commit | 24bae9f05523a7c85bf1988d349149ebeb5067f0 (patch) | |
tree | 584422a00aef2f153619aedc2bf76d3b2192633f /source/param | |
parent | ec71f1732b6b27bd2d65b250a6f3720a235dc38d (diff) | |
download | samba-24bae9f05523a7c85bf1988d349149ebeb5067f0.tar.gz samba-24bae9f05523a7c85bf1988d349149ebeb5067f0.tar.xz samba-24bae9f05523a7c85bf1988d349149ebeb5067f0.zip |
For hysterical raisins you must use string_set() to set the value of a
string in the loadparam Globals struct. Using pstrcpy was causing every
NULL string was being set to the name of the winbindd log file. (-:
Diffstat (limited to 'source/param')
-rw-r--r-- | source/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/param/loadparm.c b/source/param/loadparm.c index c900e99af41..0f32787b126 100644 --- a/source/param/loadparm.c +++ b/source/param/loadparm.c @@ -3889,7 +3889,7 @@ BOOL is_netbios_alias_or_name(const char *name) void lp_set_logfile(const char *name) { extern pstring debugf; - pstrcpy(Globals.szLogFile, name); + string_set(&Globals.szLogFile, name); pstrcpy(debugf, name); } |