mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-25 11:20:03 +00:00
SSH2: rm format_log_helper method
This commit is contained in:
parent
cc45f18cb8
commit
995bf77315
@ -4206,20 +4206,6 @@ class SSH2
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper function for _format_log
|
||||
*
|
||||
* For use with preg_replace_callback()
|
||||
*
|
||||
* @param array $matches
|
||||
* @access private
|
||||
* @return string
|
||||
*/
|
||||
private function format_log_helper($matches)
|
||||
{
|
||||
return $this->log_boundary . str_pad(dechex(ord($matches[0])), 2, '0', STR_PAD_LEFT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper function for agent->on_channel_open()
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user