Fix EMSI sessions, buffer_clear() was renamed tx_purge()
This commit is contained in:
parent
ccdce6bb62
commit
02105b10fb
app/Classes/Protocol
@ -908,7 +908,7 @@ final class EMSI extends BaseProtocol implements CRCInterface,ZmodemInterface
|
||||
}
|
||||
|
||||
$this->client->rx_purge();
|
||||
$this->client->buffer_clear();
|
||||
$this->client->tx_purge();
|
||||
$this->emsi_banner();
|
||||
|
||||
$t1 = $this->client->timer_set(self::EMSI_HSTIMEOUT);
|
||||
|
@ -2389,7 +2389,7 @@ final class Zmodem extends Protocol implements CRCInterface,ZmodemInterface
|
||||
$crc = self::LSZ_INIT_CRC32;
|
||||
$buf = '';
|
||||
|
||||
$this->client->buffer_clear();
|
||||
$this->client->tx_purge();
|
||||
$buf = $send->sendas.chr(0);
|
||||
|
||||
$buf .= sprintf('%ld %lo %o %o %ld %ld',
|
||||
|
Loading…
Reference in New Issue
Block a user