Reduce zmodem debugging
This commit is contained in:
@@ -172,7 +172,9 @@ final class SocketClient {
|
||||
if ($this->DEBUG)
|
||||
Log::debug(sprintf('%s: - Sending [%d]',self::LOGKEY,$restsize));
|
||||
$rc = $this->send(substr($this->tx_buf,$tx_ptr,$restsize),0);
|
||||
Log::debug(sprintf('%s: - Sent [%d] (%s)',self::LOGKEY,$rc,Str::limit($this->tx_buf,15)));
|
||||
|
||||
if ($this->DEBUG)
|
||||
Log::debug(sprintf('%s: - Sent [%d] (%s)',self::LOGKEY,$rc,Str::limit($this->tx_buf,15)));
|
||||
|
||||
if ($rc == $restsize) {
|
||||
$this->tx_buf = '';
|
||||
|
Reference in New Issue
Block a user