1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-29 11:24:19 +01:00

Fixed timestamp in mm_LogFatal/metamod-fatal.log having the day twice instead of the month.

This commit is contained in:
Scott Ehlert 2008-11-24 01:52:07 -06:00
parent 54feb19d21
commit 28e9e22fe1

View File

@ -25,7 +25,7 @@ mm_LogFatal(const char *message, ...)
return;
t = time(NULL);
strftime(header, sizeof(header), "%d/%d/%Y - %H:%M:%S", localtime(&t));
strftime(header, sizeof(header), "%m/%d/%Y - %H:%M:%S", localtime(&t));
fprintf(fp, "L %s: ", header);
va_start(ap, message);