Skip to content
Permalink
Browse files
Fix bug setting channel window size.
  • Loading branch information
lhofhansl committed Jul 13, 2018
1 parent 93c0b3b commit 8d629cf65bedde30f94a6b611a8ce339213f9774
Showing 1 changed file with 1 addition and 1 deletion.
@@ -921,7 +921,7 @@ void UDPPeer::setNonLegacyPeer()
m_legacy_peer = false;
for(unsigned int i=0; i< CHANNEL_COUNT; i++)
{
channels->setWindowSize(g_settings->getU16("max_packets_per_iteration"));
channels[i].setWindowSize(g_settings->getU16("max_packets_per_iteration"));
}
}

0 comments on commit 8d629cf

Please sign in to comment.