mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-12 09:09:39 +01:00
Fix E_NOTICE in SFTP.php (thanks dlgoodchild!)
This commit is contained in:
parent
65193d9a25
commit
a731220785
@ -1575,10 +1575,9 @@ class Net_SFTP extends Net_SSH2 {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->_logError($response);
|
extract(unpack('Nstatus', $this->_string_shift($response, 4)));
|
||||||
|
|
||||||
// check the status from the NET_SFTP_STATUS case in the above switch after the file has been closed
|
|
||||||
if ($status != NET_SFTP_STATUS_OK) {
|
if ($status != NET_SFTP_STATUS_OK) {
|
||||||
|
$this->_logError($response, $status);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user