diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-05-13 00:55:54 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-05-13 00:55:54 +0000 |
commit | 95a349f427158f1e99bfd1d5534963d9cb55860d (patch) | |
tree | 32b637875510b666fec7ad31df258762695002e7 /networking/wget.c | |
parent | ddb00545b7fb84138a14a511def4526ac2bc0709 (diff) | |
download | busybox-w32-95a349f427158f1e99bfd1d5534963d9cb55860d.tar.gz busybox-w32-95a349f427158f1e99bfd1d5534963d9cb55860d.tar.bz2 busybox-w32-95a349f427158f1e99bfd1d5534963d9cb55860d.zip |
When doing a 'wget -O -' turn on the quiet flag, lest the status bar
noise get mingled with the retrieved webpage.
-Erik
Diffstat (limited to 'networking/wget.c')
-rw-r--r-- | networking/wget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/wget.c b/networking/wget.c index cb96e65a3..dfe97f5c5 100644 --- a/networking/wget.c +++ b/networking/wget.c | |||
@@ -234,6 +234,7 @@ int wget_main(int argc, char **argv) | |||
234 | */ | 234 | */ |
235 | if (strcmp(fname_out, "-") == 0) { | 235 | if (strcmp(fname_out, "-") == 0) { |
236 | output = stdout; | 236 | output = stdout; |
237 | quiet_flag = TRUE; | ||
237 | } else { | 238 | } else { |
238 | output = xfopen(fname_out, (do_continue ? "a" : "w")); | 239 | output = xfopen(fname_out, (do_continue ? "a" : "w")); |
239 | } | 240 | } |
@@ -777,7 +778,7 @@ progressmeter(int flag) | |||
777 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 778 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
778 | * SUCH DAMAGE. | 779 | * SUCH DAMAGE. |
779 | * | 780 | * |
780 | * $Id: wget.c,v 1.37 2001/05/09 19:15:46 kraai Exp $ | 781 | * $Id: wget.c,v 1.38 2001/05/13 00:55:54 andersen Exp $ |
781 | */ | 782 | */ |
782 | 783 | ||
783 | 784 | ||