Skip to content

Commit

Permalink
Fix typo in steamnetworkingsockets_connections.cpp
Browse files Browse the repository at this point in the history
- Remove unnecessary backslash at the end of the code line
- Replace non-ascii hyphen with ascii hyphen
  • Loading branch information
csjune authored and zpostfacto committed Mar 13, 2024
1 parent 55cf40c commit 9382ae6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1646,7 +1646,7 @@ ESteamNetConnectionEnd CSteamNetworkConnectionBase::FinishCryptoHandshake( bool
return k_ESteamNetConnectionEnd_Remote_BadCrypt;
}

// Diffie–Hellman key exchange to get "premaster secret"
// Diffie-–Hellman key exchange to get "premaster secret"
AutoWipeFixedSizeBuffer<sizeof(SHA256Digest_t)> premasterSecret;
if ( !CCrypto::PerformKeyExchange( m_keyExchangePrivateKeyLocal, keyExchangePublicKeyRemote, &premasterSecret.m_buf ) )
{
Expand Down Expand Up @@ -2802,7 +2802,7 @@ bool CSteamNetworkConnectionBase::ReceivedMessage( CSteamNetworkingMessage *pMsg

// Add to the poll group, if we are in one
if ( m_pPollGroup )
pMsg->LinkToQueueTail( &CSteamNetworkingMessage::m_linksSecondaryQueue, &m_pPollGroup->m_queueRecvMessages );\
pMsg->LinkToQueueTail( &CSteamNetworkingMessage::m_linksSecondaryQueue, &m_pPollGroup->m_queueRecvMessages );

// Each if() branch has its own unlock, so we can spew in the branch above
g_lockAllRecvMessageQueues.unlock();
Expand Down

0 comments on commit 9382ae6

Please sign in to comment.