mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-14 18:59:51 +00:00
SSH2: CS adjustment
This commit is contained in:
parent
21db83aeb7
commit
79b6f96870
@ -4266,7 +4266,9 @@ class SSH2
|
||||
|
||||
if (strlen($packet) != $sent) {
|
||||
$this->bitmap = 0;
|
||||
$message = $sent === false ? ('Unable to write ' . strlen($packet) . ' bytes') : ("Only $sent of " . strlen($packet) . " bytes were sent");
|
||||
$message = $sent === false ?
|
||||
'Unable to write ' . strlen($packet) . ' bytes' :
|
||||
"Only $sent of " . strlen($packet) . " bytes were sent";
|
||||
throw new \RuntimeException($message);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user