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:
committed by
Sébastien Helleu
parent
ca22e49041
commit
15e2da3aac
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user