mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-06-10 12:22:24 +00:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
c08afba575
|
@ -467,7 +467,7 @@ class SFTP extends SSH2
|
|||
$response = $this->_get_channel_packet(self::CHANNEL, true);
|
||||
if ($response === false) {
|
||||
return false;
|
||||
} else if ($response === true && $this->isTimeout()) {
|
||||
} elseif ($response === true && $this->isTimeout()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -515,7 +515,7 @@ class SFTP extends SSH2
|
|||
if ($response === false) {
|
||||
return false;
|
||||
}
|
||||
} else if ($response === true && $this->isTimeout()) {
|
||||
} elseif ($response === true && $this->isTimeout()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user