mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-22 05:44:17 -04:00
Made the receiver count the size of symlinks in the total_size
value, just like the sender does.
This commit is contained in:
1 parent
cbc63b9b48
commit
5e7b826a4f
1 file changed
+1
-1
@@ -1366,7 +1366,7 @@ struct file_list *recv_file_list(int f)
|
||||
flags |= read_byte(f) << 8;
|
||||
file = receive_file_entry(flist, flags, f);
|
||||
|
||||
if (S_ISREG(file->mode))
|
||||
if (S_ISREG(file->mode) || S_ISLNK(file->mode))
|
||||
stats.total_size += file->length;
|
||||
|
||||
flist->files[flist->count++] = file;
|
||||
|
||||
Reference in new issue
Block a user