Fixing possible server issues.

This commit is contained in:
lotodore
2009-07-13 22:49:32 +00:00
parent 398805a136
commit 58d471e0de
2 changed files with 18 additions and 9 deletions
+3
View File
@@ -58,7 +58,10 @@ internal_log_err(const string &msg)
{
ofstream o(g_logFile.c_str(), ios_base::out | ios_base::app);
if (!o.fail())
{
o << second_clock::local_time() << " ERR: " << msg;
o.flush();
}
}
}