mirror of
https://github.com/YGGverse/hl-php.git
synced 2026-03-31 09:05:44 +00:00
continue, not break
This commit is contained in:
parent
bacfce5f1b
commit
167f092a28
1 changed files with 2 additions and 2 deletions
|
|
@ -107,13 +107,13 @@ class Master
|
|||
// Get host
|
||||
if (false === $host = fread($socket, 16))
|
||||
{
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
|
||||
// Is end of packet
|
||||
if (true === str_ends_with(bin2hex($host), bin2hex("\0\0\0\0\0\0")))
|
||||
{
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
|
||||
// Skip invalid host value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue