From 713581e52521b150428ff5cd46b75a8736877799 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Thu, 4 Oct 2007 04:49:37 +0200 Subject: [PATCH] Fixed one last bug in the request logger. --- daemon/reqstat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/reqstat.c b/daemon/reqstat.c index 2f51c6d..838f611 100644 --- a/daemon/reqstat.c +++ b/daemon/reqstat.c @@ -56,7 +56,7 @@ void filelog(char *format, ...) t = ctime(&now); if((p = strchr(t, '\n')) != NULL) *p = 0; - fprintf(out, "%s: %s\n", p, b); + fprintf(out, "%s: %s\n", t, b); free(b); fclose(out); } -- 2.11.0