commit | 3b4e2e5e2781bb3ab07cd4c420f0d6caaf919199 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Fri May 31 09:53:59 2013 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Fri May 31 09:53:59 2013 +0200 |
tree | 6b922750ab0ce0d64a24550d2047ee123afc8d60 | |
parent | 93b625bb65363bbee5292b7060e665ea895e260e [diff] [blame] |
time: Show the time with two digits..
diff --git a/src/qxdm-log.c b/src/qxdm-log.c index 71d046d..054407e 100644 --- a/src/qxdm-log.c +++ b/src/qxdm-log.c
@@ -134,7 +134,7 @@ return -2; } - printf("%d:%d:%d %-20s: ", + printf("%.2d:%.2d:%.2d %-20s: ", tm->tm_hour, tm->tm_min, tm->tm_sec, file); printf(log, msg->params[0], msg->params[1], msg->params[2]);