Browse Source

Revert "fixed typo" and "fixed crash for Windows"

This reverts commits c8a80a497d and f7791e5289

This didn't actually fix Windows crash problem. In fact, it still
crashed without --log=0 being set. Changes to the i2pd.vcxproj file
fixed the crashes with VS 2013 > update 1.  i2pd now works with VS 2013
Update 3 and Update 4 RC.

Since these changes didn't have the intended effect, let's remove them.
pull/108/head
Kill Your TV 10 years ago
parent
commit
dd4283b7c1
  1. 3
      Log.cpp

3
Log.cpp

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

Loading…
Cancel
Save