From: Jonathan McDowell Date: Mon, 31 May 2004 23:47:33 +0000 (+0000) Subject: cscvs to tla changeset 67 X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/f830858154d6bf294a06cb79fb219b6404cb4295?ds=sidebyside cscvs to tla changeset 67 Author: noodles Date: 2003/04/05 11:35:59 Fix silly bug where month is one less than it should be. --- diff --git a/log.c b/log.c index 5d067bc..3bc8017 100644 --- 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,