From ec75e4fc3284705e6be6a80063ced081cc714db7 Mon Sep 17 00:00:00 2001 From: Jim Wigginton Date: Thu, 26 Nov 2009 20:12:17 +0000 Subject: [PATCH] - fixed a bug in mkdir() that'd result in some Warnings git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@61 21d32557-59b3-4da0-833f-c5933fad653e --- phpseclib/Net/SFTP.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpseclib/Net/SFTP.php b/phpseclib/Net/SFTP.php index 08a53b3d..6e98ef81 100644 --- a/phpseclib/Net/SFTP.php +++ b/phpseclib/Net/SFTP.php @@ -48,7 +48,7 @@ * @author Jim Wigginton * @copyright MMIX Jim Wigginton * @license http://www.gnu.org/licenses/lgpl.txt - * @version $Id: SFTP.php,v 1.11 2009-11-25 20:05:41 terrafrost Exp $ + * @version $Id: SFTP.php,v 1.12 2009-11-26 20:12:17 terrafrost Exp $ * @link http://phpseclib.sourceforge.net */ @@ -751,7 +751,7 @@ class Net_SFTP extends Net_SSH2 { return false; } - $this->_get_sftp_packet(); + $response = $this->_get_sftp_packet(); if ($this->packet_type != NET_SFTP_STATUS) { user_error('Expected SSH_FXP_STATUS', E_USER_NOTICE); return false;