mirror of
https://github.com/samba-team/samba.git
synced 2025-02-18 17:57:55 +03:00
r14598: 'logfile' may be a poor choice for a global variable name, but for now
don't shadow it. Andrew Bartlett
This commit is contained in:
parent
06f7a8c692
commit
ace171f94c
@ -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