From 7ab97d06ccd4471780597981216aee227c619959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 17 Jun 2005 04:25:05 +0000 Subject: [PATCH] rename variable time to timestr to avoid shadowing git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15468 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/log.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/krb5/log.c b/lib/krb5/log.c index 7a64dfe8f..89c963ec3 100644 --- a/lib/krb5/log.c +++ b/lib/krb5/log.c @@ -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); }