summaryrefslogtreecommitdiff
path: root/rsync.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-11-03 07:20:09 +0000
committerWayne Davison <wayned@samba.org>2007-11-03 07:20:09 +0000
commitb7386d23d46ea8ed1fe85dc6ec4d11d85f345a16 (patch)
tree74f50e93693d1671833f38b8fcf59bbc6fb5dff8 /rsync.c
parent17a4977befedb841fde2c4c40ed39b74c3af4ba8 (diff)
downloadrsync-b7386d23d46ea8ed1fe85dc6ec4d11d85f345a16.tar.gz
Avoid verbose output during the forwarding of flist data (for now,
at least).
Diffstat (limited to 'rsync.c')
-rw-r--r--rsync.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/rsync.c b/rsync.c
index 7f8d65cb..fea0c1fb 100644
--- a/rsync.c
+++ b/rsync.c
@@ -211,7 +211,7 @@ int read_ndx_and_attrs(int f_in, int *iflag_ptr, uchar *type_ptr,
int len, iflags = 0;
struct file_list *flist;
uchar fnamecmp_type = FNAMECMP_FNAME;
- int ndx;
+ int ndx, save_verbose = verbose;
read_loop:
while (1) {
@@ -239,15 +239,17 @@ int read_ndx_and_attrs(int f_in, int *iflag_ptr, uchar *type_ptr,
}
/* Send everything read from f_in to msg_fd_out. */
- send_msg_int(MSG_FLIST, ndx);
- start_flist_forward(f_in);
if (verbose > 3) {
rprintf(FINFO, "[%s] receiving flist for dir %d\n",
who_am_i(), ndx);
}
+ verbose = 0;
+ send_msg_int(MSG_FLIST, ndx);
+ start_flist_forward(f_in);
flist = recv_file_list(f_in);
flist->parent_ndx = ndx;
stop_flist_forward();
+ verbose = save_verbose;
}
iflags = protocol_version >= 29 ? read_shortint(f_in)