filesfrom_fd = -1;
}
-#ifdef SUPPORT_HARD_LINKS
- if (preserve_hard_links)
- init_hard_links();
-#endif
-
flist = recv_file_list(f_in);
verbose = save_verbose;
if (!flist) {
filesfrom_fd = -1;
}
-#ifdef SUPPORT_HARD_LINKS
- if (preserve_hard_links)
- init_hard_links();
-#endif
-
if (write_batch && !am_server)
start_write_batch(f_in);
flist = recv_file_list(f_in);
}
if (read_batch)
read_stream_flags(batch_fd);
+ else
+ write_stream_flags(batch_fd);
+
}
if (write_batch < 0)
dry_run = 1;