"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/base/streamlogger.cpp" between
icinga2-2.11.5.tar.gz and icinga2-2.12.0.tar.gz

About: Icinga 2 is an enterprise grade monitoring system which keeps watch over networks and any conceivable network resource.

streamlogger.cpp  (icinga2-2.11.5):streamlogger.cpp  (icinga2-2.12.0)
skipping to change at line 44 skipping to change at line 44
delete m_Stream; delete m_Stream;
} }
void StreamLogger::FlushLogTimerHandler() void StreamLogger::FlushLogTimerHandler()
{ {
Flush(); Flush();
} }
void StreamLogger::Flush() void StreamLogger::Flush()
{ {
ObjectLock oLock (this);
if (m_Stream) if (m_Stream)
m_Stream->flush(); m_Stream->flush();
} }
void StreamLogger::BindStream(std::ostream *stream, bool ownsStream) void StreamLogger::BindStream(std::ostream *stream, bool ownsStream)
{ {
ObjectLock olock(this); ObjectLock olock(this);
if (m_Stream && m_OwnsStream) if (m_Stream && m_OwnsStream)
delete m_Stream; delete m_Stream;
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)