fetch: switch forced progress updates back off

This commit is contained in:
K. Lange 2021-06-17 08:33:55 +09:00
parent 1467ec050e
commit c7821cf30e
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ int http_fetch(FILE * f) {
size_t r = fread(buf, 1, bytes_to_read < 1024 ? bytes_to_read : 1024, f);
fwrite(buf, 1, r, fetch_options.out);
fetch_options.size += r;
print_progress(1);
print_progress(0);
if (fetch_options.machine_readable && fetch_options.content_length) {
fprintf(stdout,"%d %d\n",(int)fetch_options.size, (int)fetch_options.content_length);
}