Get the multi file tests working for the receive kitten

This commit is contained in:
Kovid Goyal
2023-07-26 10:42:18 +05:30
parent e4986c489e
commit 995c447435
2 changed files with 24 additions and 18 deletions

View File

@@ -391,8 +391,8 @@ func (self *manager) request_files() transmit_iterator {
if f == nil {
return 0, files_done
}
read_signature := self.use_rsync
if read_signature && f.ftype == FileType_regular {
read_signature := self.use_rsync && f.ftype == FileType_regular
if read_signature {
if s, err := os.Lstat(f.expanded_local_path); err == nil {
read_signature = s.Size() > 4096
} else {