git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
508f2f5
)
r14598: 'logfile' may be a poor choice for a global variable name, but for now
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 21 Mar 2006 00:04:41 +0000
(
00:04
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:58:59 +0000
(13:58 -0500)
don't shadow it.
Andrew Bartlett
(This used to be commit
ace171f94c57da7b13c147c6e286e9e183df0745
)
source4/lib/cmdline/popt_common.c
patch
|
blob
|
history
diff --git
a/source4/lib/cmdline/popt_common.c
b/source4/lib/cmdline/popt_common.c
index 33959874b74b305600cb8c387a082761369c0156..fb6ba722dee15263d709d2c59bb22f5c7ee8f0f1 100644
(file)
--- a/
source4/lib/cmdline/popt_common.c
+++ b/
source4/lib/cmdline/popt_common.c
@@
-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;