Skip to content

Commit

Permalink
don't print duplicate acks
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Jun 13, 2014
1 parent fccb13c commit 99b818a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions SSUData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ namespace ssu
delete[] f;
m_SentMessages.erase (it);
}
else
LogPrint ("SSU ack received for unknown message ", msgID);
}

void SSUData::ProcessMessage (uint8_t * buf, size_t len)
Expand All @@ -62,7 +60,6 @@ namespace ssu
buf++;
for (int i = 0; i < numBitfields; i++)
{
ProcessSentMessageAck (be32toh (*(uint32_t *)buf)); // TODO: should be replaced to fragments
buf += 4; // msgID
// TODO: process individual Ack bitfields
while (*buf & 0x80) // not last
Expand Down

0 comments on commit 99b818a

Please sign in to comment.