]> granicus.if.org Git - curl/commitdiff
Gisle Vanem corrected a mistake in a recent progress fix
authorDaniel Stenberg <daniel@haxx.se>
Mon, 19 Apr 2004 07:18:26 +0000 (07:18 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 19 Apr 2004 07:18:26 +0000 (07:18 +0000)
lib/progress.c

index 55bc3ceec07bf22f8c6be9e62eff480daa170818..e7e5728eff19e14428873e3b7757da436a9fea06 100644 (file)
@@ -250,7 +250,7 @@ int Curl_pgrsUpdate(struct connectdata *conn)
 
   /* The time spent so far (from the start) */
   data->progress.timespent = Curl_tvdiff_secs(now, data->progress.start);
-  timespent = (long)data->progress.timespent*1000.0;
+  timespent = (long)data->progress.timespent;
 
   /* The average download speed this far */
   data->progress.dlspeed =