aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-01-10 00:31:55 +0000
committerWayne Davison <wayned@samba.org>2005-01-10 00:31:55 +0000
commitbf18b7ca671e877715c1b139ae3859de6858ad54 (patch)
tree7862e866550160fe50885f54a8917474282ce96e /main.c
parentcc17fbfe7dbe8f603f53a3957e2369802f0bd81f (diff)
downloadandroid_external_rsync-bf18b7ca671e877715c1b139ae3859de6858ad54.tar.gz
android_external_rsync-bf18b7ca671e877715c1b139ae3859de6858ad54.tar.bz2
android_external_rsync-bf18b7ca671e877715c1b139ae3859de6858ad54.zip
Moved the reading of the final MSG_DONE message from here to
generator.c (the message comes from the receiver). This ensures that any redo-pass files and delete-after processing are known to be done prior to the start of the hard-link and dir-time-munging loops.
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.c b/main.c
index 7ff33f55..bb9cfde5 100644
--- a/main.c
+++ b/main.c
@@ -540,7 +540,6 @@ static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
generate_files(f_out, flist, local_name, name_pipe[1]);
- get_redo_num(); /* Read final MSG_DONE and any prior messages. */
report(-1);
io_flush(FULL_FLUSH);
if (protocol_version >= 24) {