From: Wayne Davison Date: Sat, 3 Feb 2007 05:13:14 +0000 (+0000) Subject: The ndx arg passed to increment_active_files() is now the unique, X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/121bfb2b4d9df88bfbc9917209842bb8d9d17e22 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(). --- 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)