From: Wayne Davison Date: Sat, 28 Jan 2012 18:39:21 +0000 (-0800) Subject: flist->in_progress is only needed w/inc_recurese. X-Git-Tag: v3.1.0pre1~52 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=41c5ba641fe0e71ba9ebf25c4bb1463b511677ed;p=thirdparty%2Frsync.git flist->in_progress is only needed w/inc_recurese. --- diff --git a/io.c b/io.c index a21d81fe..88548980 100644 --- a/io.c +++ b/io.c @@ -1046,7 +1046,8 @@ static void got_flist_entry_status(enum festatus status, int ndx) if (status == FES_NO_SEND) flist_ndx_push(&hlink_list, -2); /* indicates a failure follows */ flist_ndx_push(&hlink_list, ndx); - flist->in_progress++; + if (inc_recurse) + flist->in_progress++; } } #endif