Skip to content

Commit

Permalink
[core] cleanup a redundant getAvailRcvBufferSizeNoLock() in log
Browse files Browse the repository at this point in the history
  • Loading branch information
gou4shi1 committed Sep 29, 2022
1 parent 992209d commit 68bcda4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions srtcore/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10303,8 +10303,7 @@ int srt::CUDT::processData(CUnit* in_unit)

LOGC(qrlog.Debug, log << CONID() << "RECEIVED: seq=" << rpkt.m_iSeqNo
<< " offset=" << offset
<< " BUFr=" << avail_bufsize
<< " avail=" << getAvailRcvBufferSizeNoLock()
<< " avail=" << avail_bufsize
<< " buffer=(" << m_iRcvLastSkipAck
<< ":" << m_iRcvCurrSeqNo // -1 = size to last index
<< "+" << CSeqNo::incseq(m_iRcvLastSkipAck, m_pRcvBuffer->capacity()-1)
Expand Down

0 comments on commit 68bcda4

Please sign in to comment.