This commit is contained in:
the-djmaze 2022-10-04 13:45:46 +02:00
parent f0ae4e7e6c
commit b6aca7fae6

View file

@ -145,8 +145,13 @@ class SubStreams
{ {
return false; return false;
} }
$sReturn .= $sReadResult; $sReturn .= $sReadResult;
}
else
{
$this->iIndex++;
}
}
$iLen = \strlen($sReturn); $iLen = \strlen($sReturn);
if ($iCount < $iLen) if ($iCount < $iLen)
@ -160,12 +165,6 @@ class SubStreams
$iCount -= $iLen; $iCount -= $iLen;
} }
} }
else
{
$this->iIndex++;
}
}
}
} }
$this->iPos += \strlen($sReturn); $this->iPos += \strlen($sReturn);