Fix for large packet transfer, since we were evaluating with the wrong size

This commit is contained in:
2023-07-19 16:24:35 +10:00
parent 39605af693
commit f9a74578ff
2 changed files with 3 additions and 3 deletions

View File

@@ -512,8 +512,8 @@ final class Binkp extends BaseProtocol
$rc = TRUE;
if ($this->recv->pos === $this->recv->size) {
Log::info(sprintf('%s:- Finished receiving file [%s] with size [%d]',self::LOGKEY,$this->recv->nameas,$this->recv->size));
if ($this->recv->pos === $this->recv->recvsize) {
Log::info(sprintf('%s:- Finished receiving file [%s] with size [%d]',self::LOGKEY,$this->recv->nameas,$this->recv->recvsize));
$this->msgs(self::BPM_GOTSKIP,$this->recv->name_size_time);
$this->recv->close();