Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6609a9f
)
Cause all three processes to report memory stats when -vv --stats
author
J.W. Schultz
<jw@samba.org>
Thu, 5 Feb 2004 03:27:54 +0000
(
03:27
+0000)
committer
J.W. Schultz
<jw@samba.org>
Thu, 5 Feb 2004 03:27:54 +0000
(
03:27
+0000)
main.c
patch
|
blob
|
blame
|
history
diff --git
a/main.c
b/main.c
index
f60ca6c
..
c0db3fc
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-116,6
+116,9
@@
static void report(int f)
show_flist_stats();
}
+ if (am_generator)
+ return;
+
if (am_daemon) {
log_exit(0, __FILE__, __LINE__);
if (f == -1 || !am_sender) return;
@@
-467,6
+470,7
@@
static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
generate_files(f_out, flist, local_name);
get_redo_num(); /* Read final MSG_DONE and any prior messages. */
+ report(-1);
io_flush(FULL_FLUSH);
if (protocol_version >= 24) {
/* send a final goodbye message */