Skip to content

Commit

Permalink
[common] Initialize CMsgBuffer members in ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
dimhotepus committed Jan 3, 2025
1 parent 728c922 commit 33ddf16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tracker/common/msgbuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ CMsgBuffer::CMsgBuffer( const char *buffername, void (*ef)( const char *fmt, ...
m_pszBufferName = buffername;
m_pfnErrorFunc = ef;
m_bAllowOverflow = false; // if false, Error
m_fRecvTime = -1.f;
m_bOverFlowed = false; // set to true if the buffer size failed
m_nMaxSize = NET_MAXMESSAGE;
m_nPushedCount = 0;
Expand Down

0 comments on commit 33ddf16

Please sign in to comment.