projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93c0b3b
)
Fix bug setting channel window size.
author
Lars Hofhansl
<larsh@apache.org>
Fri, 13 Jul 2018 12:02:08 +0000
(
05:02
-0700)
committer
Lars Hofhansl
<larsh@apache.org>
Fri, 13 Jul 2018 12:02:08 +0000
(
05:02
-0700)
src/network/connection.cpp
patch
|
blob
|
history
diff --git
a/src/network/connection.cpp
b/src/network/connection.cpp
index a9f8ee082e065958dd3820cc9f1249651e17a665..d4f0b63412d41ab59240185cff75a7f96d8b3b22 100644
(file)
--- a/
src/network/connection.cpp
+++ b/
src/network/connection.cpp
@@
-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"));
}
}