Remove invalid warning about logging packets
This commit is contained in:
parent
f37ca7ada5
commit
ba98e7dde9
@ -186,9 +186,9 @@ void Network::openLog()
|
||||
std::string s = file_manager
|
||||
->getUserConfigFile(FileManager::getStdoutName()+".packet");
|
||||
m_log_file.setAtomic(fopen(s.c_str(), "w+"));
|
||||
if (!m_log_file.getData())
|
||||
Log::warn("STKHost", "Network packets won't be logged: no file.");
|
||||
}
|
||||
if (!m_log_file.getData())
|
||||
Log::warn("STKHost", "Network packets won't be logged: no file.");
|
||||
} // openLog
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user