extern int am_server;
extern int am_daemon;
extern int protocol_version;
+extern int make_backups;
extern struct stats stats;
struct file_struct *file;
int phase = 0;
struct stats initial_stats;
+ int save_make_backups = make_backups;
int j;
if (verbose > 2)
write_int(f_out, -1);
if (verbose > 2)
rprintf(FINFO, "send_files phase=%d\n", phase);
+ /* For inplace: redo phase turns off the backup
+ * flag so that we do a regular inplace send. */
+ make_backups = 0;
continue;
}
break;
safe_fname(fname));
}
}
+ make_backups = save_make_backups;
if (verbose > 2)
rprintf(FINFO, "send files finished\n");