aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
640#if ENABLE_FEATURE_WGET_TIMEOUT 640#if ENABLE_FEATURE_WGET_TIMEOUT
641 second_cnt = G.timeout_seconds; 641 second_cnt = G.timeout_seconds;
642#endif 642#endif
643 continue; 643 goto bump;
644 } 644 }
645 645
646 /* n <= 0. 646 /* n <= 0.
@@ -673,11 +673,12 @@ static void NOINLINE retrieve_file_data(FILE *dfp)
673 * to try reading anyway. 673 * to try reading anyway.
674 */ 674 */
675 } 675 }
676#endif
677 bump:
676 /* Need to do it _every_ second for "stalled" indicator 678 /* Need to do it _every_ second for "stalled" indicator
677 * to be shown properly. 679 * to be shown properly.
678 */ 680 */
679 progress_meter(PROGRESS_BUMP); 681 progress_meter(PROGRESS_BUMP);
680#endif
681 } /* while (reading data) */ 682 } /* while (reading data) */
682 683
683#if ENABLE_FEATURE_WGET_STATUSBAR || ENABLE_FEATURE_WGET_TIMEOUT 684#if ENABLE_FEATURE_WGET_STATUSBAR || ENABLE_FEATURE_WGET_TIMEOUT