Displaying 1 result from an estimated 1 matches for "do_big_num".
2015 Sep 06
1
[Bug 11496] New: itemized logging of transferred bytes is cumulative instead of per file
...b = 0;
else if (am_sender)
b = total_data_written - initial_data_written;
else
b = total_data_read - initial_data_read;
strlcat(fmt, "s", sizeof fmt);
snprintf(buf2, sizeof buf2, fmt,
do_big_num(b, humanize, NULL));
n = buf2;
break;
This looks fine so I would expect this to work correctly.
Maybe the call to remember_initial_stats is not happening at the right time.
While looking at this I saw the code for %c (received checksum bytes) has the
same code as for %b so...