summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-11-12 16:13:08 +0100
committerDanny Baumann <dannybaumann@web.de>2007-11-12 16:13:08 +0100
commit9068598b6572dfb6e6de277b68c0ec6130032d02 (patch)
tree86b5b4257a0b36d7327b107ed2c3522c336665a9
parent7cf0be5b16f9419577ed2acee9fa731e62091135 (diff)
downloadfiledebug-9068598b6572dfb6e6de277b68c0ec6130032d02.tar.gz
filedebug-9068598b6572dfb6e6de277b68c0ec6130032d02.tar.bz2
Write timestamp to file.
-rw-r--r--filedebug.c1
1 files changed, 1 insertions, 0 deletions
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,