search for: old_monitor

Displaying 1 result from an estimated 1 matches for "old_monitor".

2005 Mar 21
4
Patch: Offline transfer mode
...+29,9 @@ extern int protocol_version; extern int make_backups; extern struct stats stats; +extern int write_batch; +extern int offline; +extern int write_batch_monitor_out; /** @@ -123,16 +126,27 @@ struct stats initial_stats; int save_make_backups = make_backups; int j; + int f_alt, old_monitor; if (verbose > 2) rprintf(FINFO, "send_files starting\n"); + old_monitor = write_batch_monitor_out; + if (write_batch && offline) { + /* offline send: don't send tokens over wire */ + f_alt = open("/dev/null", O_RDWR); + write_batch_monitor_out = f_alt...