For hysterical raisins you must use string_set() to set the value of a
[ira/wip.git] / source3 / param / loadparm.c
index c900e99af41b84f371edb76635791b5d27364473..0f32787b126397d8b96f9fb8378a51e20f073a93 100644 (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);
 }