1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-04 18:48:24 +01:00

SSH2: don't remove first byte from complex logs

This commit is contained in:
terrafrost 2013-07-19 10:34:11 -05:00
parent 415df3bd45
commit 78f9fadd3d

View File

@ -2877,7 +2877,6 @@ class Net_SSH2 {
// the most useful log for SSH2
case NET_SSH2_LOG_COMPLEX:
$this->message_number_log[] = $message_number;
$this->_string_shift($message);
$this->log_size+= strlen($message);
$this->message_log[] = $message;
while ($this->log_size > NET_SSH2_LOG_MAX_SIZE) {