rename variable time to timestr to avoid shadowing

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15468 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-06-17 04:25:05 +00:00
parent ab5d515651
commit 7ab97d06cc

View File

@@ -162,7 +162,7 @@ struct _heimdal_syslog_data{
};
static void
log_syslog(const char *time,
log_syslog(const char *timestr,
const char *msg,
void *data)
@@ -211,7 +211,7 @@ struct file_data{
};
static void
log_file(const char *time,
log_file(const char *timestr,
const char *msg,
void *data)
{
@@ -220,7 +220,7 @@ log_file(const char *time,
f->fd = fopen(f->filename, f->mode);
if(f->fd == NULL)
return;
fprintf(f->fd, "%s %s\n", time, msg);
fprintf(f->fd, "%s %s\n", timestr, msg);
if(f->keep_open == 0)
fclose(f->fd);
}