mirror of
https://github.com/mclueppers/xo-server.git
synced 2025-04-08 20:55:02 +02:00
Minor fix.
This commit is contained in:
parent
3c990f6d07
commit
bbe4f8c6ef
@ -104,7 +104,8 @@ final class Client extends Base
|
||||
if (!$this->_len)
|
||||
{
|
||||
$len = stream_get_line($this->_handle, 1024, "\n");
|
||||
if ($len === false)
|
||||
if (($false === len)
|
||||
|| ('' === $len)) // @todo Not sure why but it seems necessary.
|
||||
{
|
||||
if (feof($this->_handle))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user