From bf22d9cca88498134316a2fa435e26182e5e4dd1 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 9 Jan 2002 04:17:24 +0000 Subject: 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) --- source3/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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); } -- cgit