]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - log.c
cscvs to tla changeset 69
[onak.git] / log.c
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,
        
                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,
                                timestamp->tm_year + 1900,
                                timestamp->tm_hour,
                                timestamp->tm_min,