1.1 --- a/core/GameDataFetcher.cpp Sun Dec 28 18:28:57 2008 -0500
1.2 +++ b/core/GameDataFetcher.cpp Sun Dec 28 19:56:40 2008 -0500
1.3 @@ -126,9 +126,15 @@
1.4 GetAdjustedTime(&t);
1.5 tm *curtime = localtime(&t);
1.6
1.7 - g_SourceMod.BuildPath(Path_SM, log_path, sizeof(log_path), "logs/gamedata/L%02d%02d.log", curtime->tm_mon + 1, curtime->tm_mday);
1.8 + g_SourceMod.BuildPath(Path_SM,
1.9 + log_path,
1.10 + sizeof(log_path),
1.11 + "logs/gamedata/L%04d%02d%02d.log",
1.12 + curtime->tm_year + 1900,
1.13 + curtime->tm_mon + 1,
1.14 + curtime->tm_mday);
1.15
1.16 - logfile = fopen(log_path, "a");
1.17 + logfile = fopen(log_path, "at");
1.18
1.19 if (!logfile)
1.20 {