summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-02-03 05:13:14 +0000
committerWayne Davison <wayned@samba.org>2007-02-03 05:13:14 +0000
commit121bfb2b4d9df88bfbc9917209842bb8d9d17e22 (patch)
tree8a5104b1a45c90a5aadb0440a47ddbca036eec62 /io.c
parent100018b7cdf4c5df206c16decb07a3c2680bb5e6 (diff)
downloadrsync-121bfb2b4d9df88bfbc9917209842bb8d9d17e22.tar.gz
The ndx arg passed to increment_active_files() is now the unique,
over-the-wire value, making it consistent with the ndx arg that is passed to decrement_active_files().
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 873d27ee..3b857bfe 100644
--- a/io.c
+++ b/io.c
@@ -398,7 +398,7 @@ void increment_active_files(int ndx, int itemizing, enum logcode code)
}
active_filecnt++;
- active_bytecnt += F_LENGTH(cur_flist->files[ndx]);
+ active_bytecnt += F_LENGTH(cur_flist->files[ndx - cur_flist->ndx_start]);
}
static void decrement_active_files(int ndx)