1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 16:53:14 +02:00

xfer: compute speed and ETA with microsecond precision

This commit is contained in:
Andrew Potter
2016-01-23 01:02:07 -08:00
committed by Sébastien Helleu
parent ca22e49041
commit 15e2da3aac
6 changed files with 66 additions and 37 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ xfer_command_xfer_list (int full)
ptr_xfer->remote_address_str,
ptr_xfer->port);
date[0] = '\0';
date_tmp = localtime (&(ptr_xfer->start_transfer));
date_tmp = localtime (&(ptr_xfer->start_transfer.tv_sec));
if (date_tmp)
{
if (strftime (date, sizeof (date),