projects
/
onak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2edb917
)
cscvs to tla changeset 67
author
Jonathan McDowell
<noodles@earth.li>
Mon, 31 May 2004 23:47:33 +0000
(23:47 +0000)
committer
Jonathan McDowell
<noodles@earth.li>
Mon, 31 May 2004 23:47:33 +0000
(23:47 +0000)
Author: noodles
Date: 2003/04/05 11:35:59
Fix silly bug where month is one less than it should be.
log.c
patch
|
blob
|
history
diff --git
a/log.c
b/log.c
index 5d067bc7f606f71ea119ec4b1f854b0c88f42fdd..3bc8017179410067374fcefd6c02c6e7d6984330 100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-131,7
+131,7
@@
int logthing(loglevels loglevel, const char *format, ...)
fprintf(logfile, "[%02d/%02d/%4d %02d:%02d:%02d] %s[%d]: ",
timestamp->tm_mday,
- timestamp->tm_mon,
+ timestamp->tm_mon
+ 1
,
timestamp->tm_year + 1900,
timestamp->tm_hour,
timestamp->tm_min,