1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +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 commit is contained in:
Tim Potter 0001-01-01 00:00:00 +00:00
parent ec71f1732b
commit 24bae9f055

View File

@ -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);
}