fix possible bug: respect iMaxTime parameter in C4NetIOUDP::Execute

stable-5.4
Tobias Zwick 2013-12-04 12:46:07 +07:00
parent 6116b0079c
commit 7de660ba79
1 changed files with 1 additions and 1 deletions

View File

@ -2006,7 +2006,7 @@ bool C4NetIOUDP::Execute(int iMaxTime, pollfd *) // (mt-safe)
if (iMaxTime == TO_INF || iMaxTime > iMaxBlock) iMaxTime = iMaxBlock;
// execute subclass
if (!C4NetIOSimpleUDP::Execute(iMaxBlock))
if (!C4NetIOSimpleUDP::Execute(iMaxTime))
return false;
// connection check needed?