X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/adc2476fa213797d849ae80fa8b5fcd9eba5dc4f..077e543b7d4c55833a1d27fff462085d2e233eea:/progress.c diff --git a/progress.c b/progress.c index 5d445a13..3fb8e2be 100644 --- a/progress.c +++ b/progress.c @@ -4,7 +4,7 @@ * Copyright (C) 1996-2000 Andrew Tridgell * Copyright (C) 1996 Paul Mackerras * Copyright (C) 2001, 2002 Martin Pool - * Copyright (C) 2003-2008 Wayne Davison + * Copyright (C) 2003-2009 Wayne Davison * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,7 +21,7 @@ */ #include "rsync.h" -#include "ifuncs.h" +#include "inums.h" extern int am_server; extern int need_unsorted_flist; @@ -73,7 +73,7 @@ static void rprint_progress(OFF_T ofs, OFF_T size, struct timeval *now, if (is_last) { int len = snprintf(eol, sizeof eol, " (xfr#%d, to-chk=%d/%d)\n", - stats.num_transferred_files, + stats.xferred_files, stats.num_files - current_file_index - 1, stats.num_files); if (INFO_GTE(PROGRESS, 2)) {