mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-25 11:20:03 +00:00
SSH2: CS adjustments
This commit is contained in:
parent
e2488749ae
commit
94bd3ad078
@ -1367,9 +1367,9 @@ class SSH2
|
||||
}
|
||||
}
|
||||
|
||||
if (defined('NET_SSH2_LOGGING')) {
|
||||
$this->append_log('(fsockopen took ' . round($elapsed, 4) . 's)', '');
|
||||
}
|
||||
if (defined('NET_SSH2_LOGGING')) {
|
||||
$this->append_log('(fsockopen took ' . round($elapsed, 4) . 's)', '');
|
||||
}
|
||||
}
|
||||
|
||||
$this->identifier = $this->generate_identifier();
|
||||
@ -1408,7 +1408,7 @@ class SSH2
|
||||
throw new \RuntimeException('Connection timed out whilst receiving server identification string');
|
||||
}
|
||||
$elapsed = microtime(true) - $start;
|
||||
$totalElapsed+= $elapsed;
|
||||
$totalElapsed += $elapsed;
|
||||
$this->curTimeout -= $elapsed;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user