continue, not break

This commit is contained in:
yggverse 2026-03-04 22:32:21 +02:00
parent bacfce5f1b
commit 167f092a28

View file

@ -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