Skip to content

Commit 492b560

Browse files
committed
Typo in spew when changing role for P2P symmetric mode.
#174 (comment) P4:6553482
1 parent f062b52 commit 492b560

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/steamnetworkingsockets/clientlib/steamnetworkingsockets_p2p.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ void CSteamNetworkConnectionP2P::ChangeRoleToServerAndAccept( const CMsgSteamNet
368368
return;
369369
}
370370

371-
SpewVerboseGroup( nLogLevel, "[%s] Symmetric role resolution for connect request remote cxn ID #%u says we should act as client. Changing role\n", GetDescription(), msg.from_connection_id() );
371+
SpewVerboseGroup( nLogLevel, "[%s] Symmetric role resolution for connect request remote cxn ID #%u says we should act as server. Changing role\n", GetDescription(), msg.from_connection_id() );
372372

373373
// !KLUDGE! If we already started ICE, then we have to nuke it and restart.
374374
// It'd be better if we could just ask ICE to change the role.
@@ -377,7 +377,7 @@ void CSteamNetworkConnectionP2P::ChangeRoleToServerAndAccept( const CMsgSteamNet
377377
CheckCleanupICE();
378378
if ( m_pTransportICE )
379379
{
380-
SpewVerboseGroup( nLogLevel, "[%s] Symmetric role resolution for connect request remote cxn ID #%u says we should act as client. Changing role\n", GetDescription(), msg.from_connection_id() );
380+
SpewVerboseGroup( nLogLevel, "[%s] Destroying ICE while changing role to server.\n", GetDescription() );
381381
DestroyICENow();
382382
bRestartICE = true;
383383
}

0 commit comments

Comments
 (0)