summaryrefslogtreecommitdiff
path: root/rsync.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-02-16 02:47:12 +0000
committerWayne Davison <wayned@samba.org>2007-02-16 02:47:12 +0000
commit3831f063198de700f35e8ff6aba944162527ada0 (patch)
treea6256f8f800df2e898ee9befb112bb65ecfaecaa /rsync.c
parentbe91bd81b8cf3579e1e9e4af39a51eb44ee8a636 (diff)
downloadrsync-3831f063198de700f35e8ff6aba944162527ada0.tar.gz
rsync-3831f063198de700f35e8ff6aba944162527ada0.tar.bz2
rsync-3831f063198de700f35e8ff6aba944162527ada0.zip
- Moved the second send_extr_file_list() call to a better spot.
- Moved the FILECNT_LOOKAHEAD define into rsync.h.
Diffstat (limited to 'rsync.c')
-rw-r--r--rsync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rsync.c b/rsync.c
index f103e3cd..789aa61d 100644
--- a/rsync.c
+++ b/rsync.c
@@ -182,6 +182,8 @@ int read_ndx_and_attrs(int f_in, int f_out, int *iflag_ptr,
exit_cleanup(RERR_PROTOCOL);
}
} else if (f_out >= 0) {
+ if (inc_recurse)
+ send_extra_file_list(f_out, FILECNT_LOOKAHEAD);
write_ndx_and_attrs(f_out, ndx, iflags,
fnamecmp_type, buf, len);
}