Fix typos

This commit is contained in:
Dimitris Apostolou 2021-11-12 18:33:51 +02:00
parent 4052b1ea6d
commit 8ee9c437e1
No known key found for this signature in database
GPG key ID: 4B5D20E938204A8A
13 changed files with 17 additions and 17 deletions

View file

@ -30,7 +30,7 @@ namespace tunnel
m_NumReceivedBytes += TUNNEL_DATA_MSG_SIZE;
uint8_t * decrypted = msg->GetPayload () + 20; // 4 + 16
uint8_t * zero = (uint8_t *)memchr (decrypted + 4, 0, TUNNEL_DATA_ENCRYPTED_SIZE - 4); // witout 4-byte checksum
uint8_t * zero = (uint8_t *)memchr (decrypted + 4, 0, TUNNEL_DATA_ENCRYPTED_SIZE - 4); // without 4-byte checksum
if (zero)
{
uint8_t * fragment = zero + 1;