Code cleanup

This commit is contained in:
Pierre Pronchery 2012-06-02 10:32:46 +00:00
parent 77a972c62e
commit d2e280c8a0

View File

@ -409,7 +409,7 @@ static void _download_refresh(Download * download)
tv.tv_sec--; tv.tv_sec--;
tv.tv_usec += 1000000; tv.tv_usec += 1000000;
} }
_refresh_unit(download->data_received * 1024 _refresh_unit((download->data_received * 1024)
/ ((tv.tv_sec * 1000) + (tv.tv_usec / 1000)), / ((tv.tv_sec * 1000) + (tv.tv_usec / 1000)),
&rate_fraction, &rate_unit, NULL); &rate_fraction, &rate_unit, NULL);
} }