client: show file size in event log message when file transfer finishes

This commit is contained in:
David Anderson 2023-02-21 16:26:33 -08:00
parent 1e51e98e93
commit 1e436dd121
1 changed files with 2 additions and 2 deletions

View File

@ -234,8 +234,8 @@ bool PERS_FILE_XFER::poll() {
fip->project->file_xfer_backoff(is_upload).file_xfer_succeeded();
if (log_flags.file_xfer) {
msg_printf(
fip->project, MSG_INFO, "Finished %s of %s",
is_upload?"upload":"download", fip->name
fip->project, MSG_INFO, "Finished %s of %s (%.0f bytes)",
is_upload?"upload":"download", fip->name, fip->nbytes
);
}
if (log_flags.file_xfer_debug) {