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
Tweaked --version in a few minor ways, including the mentioning of
[rsync/rsync.git]
/
rsync.c
diff --git
a/rsync.c
b/rsync.c
index
7e97a93
..
676e658
100644
(file)
--- 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 len, iflags = 0;
struct file_list *flist;
uchar fnamecmp_type = FNAMECMP_FNAME;
- int
verbose_save,
ndx;
+ int ndx;
read_loop:
while (1) {
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);
}
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);
/* 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();
flist = recv_file_list(f_in);
flist->parent_ndx = ndx;
stop_flist_forward();
-
- verbose = verbose_save;
}
iflags = protocol_version >= 29 ? read_shortint(f_in)
}
iflags = protocol_version >= 29 ? read_shortint(f_in)