From 4722639ae11b974ec158365cfe3876676a878097 Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Fri, 25 Mar 2016 21:55:26 +0100 Subject: [PATCH] Fixed date in logger --- src/logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logger.c b/src/logger.c index 2618482..8b8a8e5 100644 --- a/src/logger.c +++ b/src/logger.c @@ -114,7 +114,7 @@ void logger_log(int level, const char *format, ...) { struct timeval tv; gettimeofday(&tv, NULL); - strftime(timebuf, 32, "%Y-%M-%d %H:%M:%S.%%03d", localtime(&(tv.tv_sec))); + strftime(timebuf, 32, "%Y-%m-%d %H:%M:%S.%%03d", localtime(&(tv.tv_sec))); snprintf(timebuf2, 32, timebuf, tv.tv_usec/1000); if(level >= LVL_DUMP) {