Fix crash on Windows when dumping admin cache to file.

This commit is contained in:
Nicholas Hastings
2014-10-08 17:31:02 -07:00
parent ac96bb177a
commit 512fae4c25
5 changed files with 16 additions and 12 deletions
+2 -2
View File
@@ -108,9 +108,9 @@ static void DumpHandles(void (*dumpfn)(const char *fmt, ...))
g_HandleSys.Dump(dumpfn);
}
static void DumpAdminCache(FILE *f)
static bool DumpAdminCache(const char *filename)
{
g_Admins.DumpCache(f);
return g_Admins.DumpCache(filename);
}
static void RegisterProfiler(IProfilingTool *tool)