+#ifdef SUPPORT_HARD_LINKS
+ if (preserve_hard_links)
+ check_for_finished_hlinks(itemizing, code);
+#endif
+
+ if (allowed_lull && !(i % lull_mod))
+ maybe_send_keepalive();
+ else if (!(i % 200))
+ maybe_flush_socket();
+ }
+
+ if (!incremental) {
+ if (delete_during)
+ delete_in_dir(NULL, NULL, NULL, &dev_zero);
+ phase++;
+ if (verbose > 2) {
+ rprintf(FINFO, "generate_files phase=%d\n",
+ phase);
+ }
+
+ write_int(f_out, NDX_DONE);
+ }
+
+ csum_length = SUM_LENGTH;
+ max_size = -max_size;
+ min_size = -min_size;
+ ignore_existing = -ignore_existing;
+ ignore_non_existing = -ignore_non_existing;
+ update_only = -update_only;
+ always_checksum = -always_checksum;
+ size_only = -size_only;
+ append_mode = -append_mode;
+ make_backups = -make_backups; /* avoid dup backup w/inplace */
+ ignore_times++;
+
+ /* Files can cycle through the system more than once
+ * to catch initial checksum errors. */
+ while (!done_cnt) {
+ struct file_struct *file;
+ struct file_list *save_flist;
+