From 121bfb2b4d9df88bfbc9917209842bb8d9d17e22 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 3 Feb 2007 05:13:14 +0000 Subject: [PATCH] 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(). --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.34.1