mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-03 18:18:05 +01:00
SFTP: CS adjustments
This commit is contained in:
parent
dab514faff
commit
0ec9d2bdf1
@ -526,7 +526,7 @@ class Net_SFTP extends Net_SSH2
|
||||
$response = $this->_get_channel_packet(NET_SFTP_CHANNEL, true);
|
||||
if ($response === false) {
|
||||
return false;
|
||||
} else if ($response === true && $this->isTimeout()) {
|
||||
} elseif ($response === true && $this->isTimeout()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -574,7 +574,7 @@ class Net_SFTP extends Net_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