From 19d4cac9961f1e68d3a186a805ec9b90f217e4b2 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 20 Apr 2007 22:40:01 +0000 Subject: [PATCH] We now allow verbose messages to be sent when forwarding incremental-recursion file-list data from the receiver to the generator. --- rsync.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rsync.c b/rsync.c index 7e97a930..676e6588 100644 --- a/rsync.c +++ b/rsync.c @@ -98,7 +98,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 verbose_save, ndx; + int ndx; read_loop: while (1) { @@ -124,8 +124,6 @@ int read_ndx_and_attrs(int f_in, int *iflag_ptr, uchar *type_ptr, NDX_FLIST_OFFSET - dir_flist->count); exit_cleanup(RERR_PROTOCOL); } - verbose_save = verbose; - verbose = 0; /* TODO allow verbose messages? */ /* Send everything read from f_in to msg_fd_out. */ send_msg_int(MSG_FLIST, ndx); @@ -133,8 +131,6 @@ int read_ndx_and_attrs(int f_in, int *iflag_ptr, uchar *type_ptr, flist = recv_file_list(f_in); flist->parent_ndx = ndx; stop_flist_forward(); - - verbose = verbose_save; } iflags = protocol_version >= 29 ? read_shortint(f_in) -- 2.34.1