1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-11-27 04:34:45 +01:00

- getLog() returns additional debug info

git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@51 21d32557-59b3-4da0-833f-c5933fad653e
This commit is contained in:
Jim Wigginton 2009-10-17 03:49:16 +00:00
parent 1284a0d7d8
commit bf6787dd07

View File

@ -41,7 +41,7 @@
* @author Jim Wigginton <terrafrost@php.net>
* @copyright MMVII Jim Wigginton
* @license http://www.gnu.org/licenses/lgpl.txt
* @version $Id: SSH2.php,v 1.23 2009-10-16 03:37:24 terrafrost Exp $
* @version $Id: SSH2.php,v 1.24 2009-10-17 03:49:16 terrafrost Exp $
* @link http://phpseclib.sourceforge.net
*/
@ -570,6 +570,14 @@ class Net_SSH2 {
}
$temp.= fgets($this->fsock, 255);
}
if (defined('NET_SSH2_LOGGING')) {
$this->message_number_log[] = '<-';
$this->message_log[] = $temp;
$this->message_number_log[] = '->';
$this->message_log[] = $this->identifier . "\r\n";
}
$this->server_identifier = trim($temp);
$this->debug_info = utf8_decode($this->debug_info);