progress: fix progress meter update to run every second again

Closes #22562
This commit is contained in:
Stefan Eissing 2026-08-12 17:30:40 +02:00 committed by Daniel Stenberg
parent 1a17959fc7
commit 507ee5d792
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -527,7 +527,7 @@ static bool progress_calc(struct Curl_easy *data,
}
if((p->delta.lastshow_us >= 0) && !data->req.done &&
((elapsed_us - p->delta.lastshow_us) >= (1000 * 1000)))
((elapsed_us - p->delta.lastshow_us) < (1000 * 1000)))
return FALSE;
p->delta.lastshow_us = elapsed_us;
return TRUE;