Displaying 2 results from an estimated 2 matches for "handle_stats".
2006 Sep 18
1
code 23 error.
...ly)) {
argc = 1;
argv--;
argv[0] = ".";
}
flist = send_file_list(f_out,argc,argv);
if (!flist || flist->count == 0) {
exit_cleanup(0);
}
the_file_list = flist;
io_start_buffering_in();
io_start_buffering_out();
send_files(flist,f_out,f_in);
io_flush(FULL_FLUSH);
handle_stats(f_out);
if (protocol_version >= 24)
read_final_goodbye(f_in, f_out);
io_flush(FULL_FLUSH);
exit_cleanup(0);
}
**************************snip**********************************
**************************************************************************
The preceding message and any attach...
2023 Jul 03
0
[PATCH] Add option --log-after to log after moving file into place
...static int do_recv(int f_in, int f_out, char *local_name)
io_start_buffering_in(f_in);
io_start_multiplex_out(f_out);
+ /* Reopen log file for --log-after */
+ if (log_after_transfer)
+ logfile_name = logafter_name;
+
recv_files(f_in, f_out, local_name);
io_flush(FULL_FLUSH);
handle_stats(f_in);
diff --git a/options.c b/options.c
index fd674754..4ab83650 100644
--- a/options.c
+++ b/options.c
@@ -176,7 +176,9 @@ char *basis_dir[MAX_BASIS_DIRS+1];
char *config_file = NULL;
char *shell_cmd = NULL;
char *logfile_name = NULL;
+char *logafter_name = NULL;
char *logfile_format = NULL;...