mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
r14598: 'logfile' may be a poor choice for a global variable name, but for now
don't shadow it. Andrew Bartlett (This used to be commit ace171f94c57da7b13c147c6e286e9e183df0745)
This commit is contained in:
parent
508f2f5506
commit
b556df32a8
@ -99,9 +99,9 @@ static void popt_common_callback(poptContext con,
|
||||
|
||||
case 'l':
|
||||
if (arg) {
|
||||
char *logfile = talloc_asprintf(NULL, "%s/log.%s", arg, pname);
|
||||
lp_set_cmdline("log file", logfile);
|
||||
talloc_free(logfile);
|
||||
char *new_logfile = talloc_asprintf(NULL, "%s/log.%s", arg, pname);
|
||||
lp_set_cmdline("log file", new_logfile);
|
||||
talloc_free(new_logfile);
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user