From 607af8ce2c5dced2b5ca5c7c1d815fc80fbb2603 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Sat, 23 Feb 2008 15:42:06 +0200 Subject: [PATCH] Show milliseconds in SILC_LOG_DEBUG and family outputs --- lib/silcutil/silclog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/silcutil/silclog.c b/lib/silcutil/silclog.c index 18cff9a5..e857bac2 100644 --- a/lib/silcutil/silclog.c +++ b/lib/silcutil/silclog.c @@ -515,8 +515,8 @@ void silc_log_output_debug(char *file, const char *function, #ifdef SILC_SYMBIAN silc_symbian_debug(function, line, string); #else - fprintf(stderr, "%02d:%02d:%02d %s:%d: %s\n", curtime.hour, - curtime.minute, curtime.second, function, line, + fprintf(stderr, "%02d:%02d:%02d.%03d %s:%d: %s\n", curtime.hour, + curtime.minute, curtime.second, curtime.msecond, function, line, string); fflush(stderr); #endif /* SILC_SYMBIAN */ -- 2.24.0