mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-15 03:03:49 +00:00
SSH2: CS adjustment
This commit is contained in:
parent
21db83aeb7
commit
79b6f96870
@ -4266,7 +4266,9 @@ class SSH2
|
|||||||
|
|
||||||
if (strlen($packet) != $sent) {
|
if (strlen($packet) != $sent) {
|
||||||
$this->bitmap = 0;
|
$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);
|
throw new \RuntimeException($message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user