X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fprogress.c;h=33ccb7c9c465e358fc691ca50ee9f5c7753ae6de;hp=3497bff20dae205b9c26fc71c6de1dacf1a03537;hb=b83acf88c1beaf3afd8967e454f850c57d2cf4e1;hpb=f496a0ea078552622938a4ddc429278b1264c0ca diff --git a/src/progress.c b/src/progress.c index 3497bff2..33ccb7c9 100644 --- a/src/progress.c +++ b/src/progress.c @@ -850,7 +850,7 @@ create_image (struct bar_progress *bp, double dl_total_time) /* " ETA xx:xx:xx"; wait for three seconds before displaying the ETA. That's because the ETA value needs a while to become reliable. */ - if (bp->total_length > 0 && dl_total_time > 3000) + if (bp->total_length > 0 && bp->count > 0 && dl_total_time > 3000) { long eta; int eta_hrs, eta_min, eta_sec;