GNOME Bugzilla – Bug 347007
ETA wrong in task window when task_count = 0
Last modified: 2006-07-09 04:58:01 UTC
Using Pan v0.103, when the task pane is empty the ETA is shown as 1011703407:30:08.
Created attachment 68639 [details] [review] Patch This problem is caused by pan/gui/task-pane.cc lines 265-268. When task_count == 0, KiBps = 0, causing a divide by 0. Attached is a patch to fix this issue that checks if task_count = 0 and if so just sets seconds, minutes, and hours to 0.
Fixed. Thanks for the patch!