diff options
author | Tim Prouty <tprouty@samba.org> | 2008-11-03 12:36:34 -0800 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2008-11-03 14:44:38 -0800 |
commit | 2efacde8c4346130227728f11a98481ed1e01515 (patch) | |
tree | 88136a5e20bc70b80bc6d4df55a174db5bff1a56 /source3/winbindd/winbindd_cm.c | |
parent | 4f25c779243ba38fce26dea51feafcf28492d79b (diff) | |
download | samba-2efacde8c4346130227728f11a98481ed1e01515.tar.gz samba-2efacde8c4346130227728f11a98481ed1e01515.tar.xz samba-2efacde8c4346130227728f11a98481ed1e01515.zip |
s3: fix a few "shadows a global declaration" warnings
Diffstat (limited to 'source3/winbindd/winbindd_cm.c')
-rw-r--r-- | source3/winbindd/winbindd_cm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index b4490a0607..3c69859731 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -225,10 +225,10 @@ static bool fork_child_dc_connect(struct winbindd_domain *domain) close_conns_after_fork(); if (!override_logfile) { - char *logfile; - if (asprintf(&logfile, "%s/log.winbindd-dc-connect", get_dyn_LOGFILEBASE()) > 0) { - lp_set_logfile(logfile); - SAFE_FREE(logfile); + char *lfile; + if (asprintf(&lfile, "%s/log.winbindd-dc-connect", get_dyn_LOGFILEBASE()) > 0) { + lp_set_logfile(lfile); + SAFE_FREE(lfile); reopen_logs(); } } |