X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/3b5b9db0bc2dbe93b3b79e722997606c71ecafb9..e3ee7975fc8f8b343390272663b8c644030b17c1:/log.c 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,