From f830858154d6bf294a06cb79fb219b6404cb4295 Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Mon, 31 May 2004 23:47:33 +0000 Subject: [PATCH 1/1] 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. --- log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5