1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-23 21:44:15 +00:00

fixed crash for Windows

This commit is contained in:
orignal 2014-11-01 21:48:26 -04:00
parent a8acb8ebb4
commit f7791e5289

View File

@ -20,8 +20,11 @@ void LogMsg::Process()
void Log::Flush ()
{
#ifdef _WIN32
if (m_LogFile)
m_LogFile->flush();
#endif
// TODO: find out what's wrong with flush for Windows
}
void Log::SetLogFile (const std::string& fullFilePath)