From 9068598b6572dfb6e6de277b68c0ec6130032d02 Mon Sep 17 00:00:00 2001 From: Danny Baumann Date: Mon, 12 Nov 2007 16:13:08 +0100 Subject: Write timestamp to file. --- filedebug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/filedebug.c b/filedebug.c index 8d82f6a..0dcc8cf 100644 --- a/filedebug.c +++ b/filedebug.c @@ -75,6 +75,7 @@ filedebugLogMessage (CompDisplay *d, mytime = time (NULL); tm = localtime (&mytime); strftime (buffer, 256, "[%x %X] ", tm); + fprintf(fd->debugFile, "%s", buffer); } fprintf (fd->debugFile, "%s - %s : %s\n", component, -- cgit v1.1