Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
patch from David Murn to make sure the final 100% is always printed
[rsync/rsync.git]
/
util.c
diff --git
a/util.c
b/util.c
index
078d59f
..
4382300
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-767,12
+767,12
@@
int u_strcmp(const char *cs1, const char *cs2)
static OFF_T last_ofs;
static OFF_T last_ofs;
-void end_progress(
void
)
+void end_progress(
OFF_T size
)
{
extern int do_progress, am_server;
if (do_progress && !am_server) {
{
extern int do_progress, am_server;
if (do_progress && !am_server) {
- rprintf(FINFO,"
\n"
);
+ rprintf(FINFO,"
%.0f (100%%)\n", (double)size
);
}
last_ofs = 0;
}
}
last_ofs = 0;
}