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':
|
case 'fd':
|
||||||
return is_resource($this->f);
|
return is_resource($this->f);
|
||||||
|
|
||||||
|
case 'recvmtime':
|
||||||
|
case 'recvsize':
|
||||||
case 'mtime':
|
case 'mtime':
|
||||||
case 'nameas':
|
case 'nameas':
|
||||||
case 'size':
|
case 'size':
|
||||||
|
@ -874,8 +874,8 @@ final class Binkp extends BaseProtocol
|
|||||||
if ($this->recv->ready
|
if ($this->recv->ready
|
||||||
&& $this->recv->nameas
|
&& $this->recv->nameas
|
||||||
&& (! strncasecmp(Arr::get($file,'file.name'),$this->recv->nameas,self::MAX_PATH))
|
&& (! strncasecmp(Arr::get($file,'file.name'),$this->recv->nameas,self::MAX_PATH))
|
||||||
&& $this->recv->mtime === Arr::get($file,'file.mtime')
|
&& $this->recv->recvmtime === Arr::get($file,'file.mtime')
|
||||||
&& $this->recv->size === Arr::get($file,'file.size')
|
&& $this->recv->recvsize === Arr::get($file,'file.size')
|
||||||
&& $this->recv->pos === $file['offs'])
|
&& $this->recv->pos === $file['offs'])
|
||||||
{
|
{
|
||||||
$this->recv->open($file['offs']<0,$file['flags']);
|
$this->recv->open($file['offs']<0,$file['flags']);
|
||||||
|
Loading…
Reference in New Issue
Block a user