Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot 2023-03-16 07:23:51 +00:00 committed by Yury Pikhtarev
commit 1f75f4e997
2 changed files with 4 additions and 5 deletions

View file

@ -719,7 +719,6 @@ class Torrent
$attempts = $success = $response = 0; $attempts = $success = $response = 0;
while (!$success && $attempts++ < $max_attempts) { while (!$success && $attempts++ < $max_attempts) {
// Send request // Send request
$file = fsockopen($bb_cfg['ocelot']['host'], $bb_cfg['ocelot']['port'], $error_num, $error_string); $file = fsockopen($bb_cfg['ocelot']['host'], $bb_cfg['ocelot']['port'], $error_num, $error_string);
if ($file) { if ($file) {