- fix some E_NOTICEs and remove superfluous SFTP error log entries (thanks, Major Tom!)

git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@161 21d32557-59b3-4da0-833f-c5933fad653e
This commit is contained in:
Jim Wigginton 2011-05-30 21:24:16 +00:00
parent 332726db74
commit 2b855b8869

View File

@ -1250,13 +1250,6 @@ class Net_SFTP extends Net_SSH2 {
return false;
}
extract(unpack('Nstatus', $this->_string_shift($response, 4)));
if ($status != NET_SFTP_STATUS_OK) {
extract(unpack('Nlength', $this->_string_shift($response, 4)));
$this->sftp_errors[] = $this->status_codes[$status] . ': ' . $this->_string_shift($response, $length);
return false;
}
if (isset($content)) {
return $content;
}