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