aboutsummaryrefslogtreecommitdiff
path: root/networking/wget.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/wget.c')
-rw-r--r--networking/wget.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/networking/wget.c b/networking/wget.c
index 62a5fcc02..1013f66cb 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -640,7 +640,7 @@ static void NOINLINE retrieve_file_data(FILE *dfp)
#if ENABLE_FEATURE_WGET_TIMEOUT
second_cnt = G.timeout_seconds;
#endif
- continue;
+ goto bump;
}
/* n <= 0.
@@ -673,11 +673,12 @@ static void NOINLINE retrieve_file_data(FILE *dfp)
* to try reading anyway.
*/
}
+#endif
+ bump:
/* Need to do it _every_ second for "stalled" indicator
* to be shown properly.
*/
progress_meter(PROGRESS_BUMP);
-#endif
} /* while (reading data) */
#if ENABLE_FEATURE_WGET_STATUSBAR || ENABLE_FEATURE_WGET_TIMEOUT