From 5e7b826a4feccef1cf1ee396cb87ae82243bd6a6 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 13 Feb 2006 18:08:45 +0000 Subject: [PATCH] Made the receiver count the size of symlinks in the total_size value, just like the sender does. --- flist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flist.c b/flist.c index 5babe91c..142e1ded 100644 --- 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; -- 2.34.1