diff options
| author | Wayne Davison <wayned@samba.org> | 2006-02-13 18:08:45 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2006-02-13 18:08:45 +0000 |
| commit | 5e7b826a4feccef1cf1ee396cb87ae82243bd6a6 (patch) | |
| tree | e103bddb359635cb32737864d00bb4f360594808 /flist.c | |
| parent | cbc63b9b48a70dba8cac27d372566bf8f9854c7f (diff) | |
| download | android_external_rsync-5e7b826a4feccef1cf1ee396cb87ae82243bd6a6.tar.gz android_external_rsync-5e7b826a4feccef1cf1ee396cb87ae82243bd6a6.tar.bz2 android_external_rsync-5e7b826a4feccef1cf1ee396cb87ae82243bd6a6.zip | |
Made the receiver count the size of symlinks in the total_size
value, just like the sender does.
Diffstat (limited to 'flist.c')
| -rw-r--r-- | flist.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
