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 | bf22d9cca88498134316a2fa435e26182e5e4dd1 (patch) | |
tree | 9af5b959ec26ce6454e19a210b15eefe560741c5 /source3/param | |
parent | 91536cc901088232074ad8dd7ae16e0f6026f25e (diff) | |
download | samba-bf22d9cca88498134316a2fa435e26182e5e4dd1.tar.gz samba-bf22d9cca88498134316a2fa435e26182e5e4dd1.tar.bz2 samba-bf22d9cca88498134316a2fa435e26182e5e4dd1.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. (-:
(This used to be commit 24bae9f05523a7c85bf1988d349149ebeb5067f0)
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index c900e99af4..0f32787b12 100644 --- a/source3/param/loadparm.c +++ b/source3/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); } |