Fix for when NR mode is active
This commit is contained in:
parent
f9a74578ff
commit
e1169335be
@ -56,6 +56,8 @@ class Receive extends Base
|
||||
case 'fd':
|
||||
return is_resource($this->f);
|
||||
|
||||
case 'recvmtime':
|
||||
case 'recvsize':
|
||||
case 'mtime':
|
||||
case 'nameas':
|
||||
case 'size':
|
||||
|
@ -874,8 +874,8 @@ final class Binkp extends BaseProtocol
|
||||
if ($this->recv->ready
|
||||
&& $this->recv->nameas
|
||||
&& (! strncasecmp(Arr::get($file,'file.name'),$this->recv->nameas,self::MAX_PATH))
|
||||
&& $this->recv->mtime === Arr::get($file,'file.mtime')
|
||||
&& $this->recv->size === Arr::get($file,'file.size')
|
||||
&& $this->recv->recvmtime === Arr::get($file,'file.mtime')
|
||||
&& $this->recv->recvsize === Arr::get($file,'file.size')
|
||||
&& $this->recv->pos === $file['offs'])
|
||||
{
|
||||
$this->recv->open($file['offs']<0,$file['flags']);
|
||||
|
Loading…
Reference in New Issue
Block a user