diff --git a/app/Classes/Protocol/Binkp.php b/app/Classes/Protocol/Binkp.php index ffed8c7..9481b75 100644 --- a/app/Classes/Protocol/Binkp.php +++ b/app/Classes/Protocol/Binkp.php @@ -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(); diff --git a/resources/views/setup.blade.php b/resources/views/setup.blade.php index 96ba382..a1d1fb5 100644 --- a/resources/views/setup.blade.php +++ b/resources/views/setup.blade.php @@ -135,7 +135,7 @@ use App\Classes\Protocol\{Binkp,EMSI,DNS};
optionGet(Binkp::F_COMP,'binkp_options'))) checked @endif> - +