mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
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)
This commit is contained in:
parent
91536cc901
commit
bf22d9cca8
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user