--- Progress.c.ORIG Mon May 15 22:22:04 1995 +++ Progress.c Mon May 15 22:25:19 1995 @@ -544,8 +544,11 @@ if (xp->secsElap <= 0.0) xp->bytesPerSec = 1.0; /* Don't set to 0. */ else { + if(xp->bytesTransferred) xp->bytesPerSec = ((double) xp->bytesTransferred) / xp->secsElap; + else + xp->bytesPerSec = 1.0; /* Don't set to 0. */ } /* Compute how much we've done so far, if we can. */