From: Fredrik Tolf Date: Thu, 4 Oct 2007 02:49:37 +0000 (+0200) Subject: Fixed one last bug in the request logger. X-Git-Tag: 1.0~29 X-Git-Url: http://git.dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=713581e52521b150428ff5cd46b75a8736877799 Fixed one last bug in the request logger. --- 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); }