mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 19:54:57 +00:00
Merge branch '1.0' into 2.0
* 1.0: fix order of user_error() and bitmap reset
This commit is contained in:
commit
54fb42ee3b
@ -3936,8 +3936,8 @@ class SSH2
|
|||||||
function _send_binary_packet($data, $logged = null)
|
function _send_binary_packet($data, $logged = null)
|
||||||
{
|
{
|
||||||
if (!is_resource($this->fsock) || feof($this->fsock)) {
|
if (!is_resource($this->fsock) || feof($this->fsock)) {
|
||||||
user_error('Connection closed prematurely');
|
|
||||||
$this->bitmap = 0;
|
$this->bitmap = 0;
|
||||||
|
user_error('Connection closed prematurely');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user