- fixed a bug in Net_SFTP::delete()

git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@127 21d32557-59b3-4da0-833f-c5933fad653e
This commit is contained in:
Jim Wigginton 2010-10-24 05:32:30 +00:00
parent dd4f0036f2
commit 3cb86474ae

View File

@ -48,7 +48,7 @@
* @author Jim Wigginton <terrafrost@php.net> * @author Jim Wigginton <terrafrost@php.net>
* @copyright MMIX Jim Wigginton * @copyright MMIX Jim Wigginton
* @license http://www.gnu.org/licenses/lgpl.txt * @license http://www.gnu.org/licenses/lgpl.txt
* @version $Id: SFTP.php,v 1.25 2010-10-02 22:23:25 terrafrost Exp $ * @version $Id: SFTP.php,v 1.25 2010/10/02 22:23:25 terrafrost Exp $
* @link http://phpseclib.sourceforge.net * @link http://phpseclib.sourceforge.net
*/ */
@ -1170,7 +1170,7 @@ class Net_SFTP extends Net_SSH2 {
return false; return false;
} }
$remote_file = $this->_realpath($path); $path = $this->_realpath($path);
if ($path === false) { if ($path === false) {
return false; return false;
} }