Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbc63b9
)
Made the receiver count the size of symlinks in the total_size
author
Wayne Davison
<wayned@samba.org>
Mon, 13 Feb 2006 18:08:45 +0000
(18:08 +0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 13 Feb 2006 18:08:45 +0000
(18:08 +0000)
value, just like the sender does.
flist.c
patch
|
blob
|
blame
|
history
diff --git
a/flist.c
b/flist.c
index
5babe91
..
142e1de
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-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;