diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-02-15 23:59:03 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-02-15 23:59:03 +0000 |
commit | 325238708fe3d50a7c1c4508f3af9209ba132330 (patch) | |
tree | 226ee55d3be441a623f9efbc6b8fd763bbdb61af | |
parent | 8f7ae653ecba493f3c9c146deeb12feb1b163d39 (diff) |
modified the progress meter usage
-rw-r--r-- | lib/download.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/download.c b/lib/download.c index 0c01f182e..d9fe30c40 100644 --- a/lib/download.c +++ b/lib/download.c @@ -143,12 +143,8 @@ Transfer (struct UrlData *data, #define KEEP_READ 1 #define KEEP_WRITE 2 - pgrsStartNow(data); if (!getheader) { header = FALSE; -#if 0 - ProgressInit (data, size); -#endif if(size > 0) pgrsSetDownloadSize(data, size); } @@ -301,9 +297,6 @@ Transfer (struct UrlData *data, if ('\n' == *p) p++; /* pass the \n byte */ -#if 0 - ProgressInit (data, size); /* init progress meter */ -#endif pgrsSetDownloadSize(data, size); header = FALSE; /* no more header to parse! */ @@ -546,11 +539,6 @@ Transfer (struct UrlData *data, } now = tvnow(); -#if 0 - if (!header) { - ProgressShow (data, bytecount, start, now, FALSE); - } -#endif pgrsUpdate(data); urg = speedcheck (data, now); @@ -576,9 +564,6 @@ Transfer (struct UrlData *data, contentlength-bytecount); return URG_PARTIAL_FILE; } -#if 0 - ProgressShow (data, bytecount, start, now, TRUE); -#endif pgrsUpdate(data); if(bytecountp) |