From 95a349f427158f1e99bfd1d5534963d9cb55860d Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sun, 13 May 2001 00:55:54 +0000 Subject: When doing a 'wget -O -' turn on the quiet flag, lest the status bar noise get mingled with the retrieved webpage. -Erik --- networking/wget.c | 3 ++- wget.c | 3 ++- 2 files changed, 4 insertions(+), 2 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) */ if (strcmp(fname_out, "-") == 0) { output = stdout; + quiet_flag = TRUE; } else { output = xfopen(fname_out, (do_continue ? "a" : "w")); } @@ -777,7 +778,7 @@ progressmeter(int flag) * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: wget.c,v 1.37 2001/05/09 19:15:46 kraai Exp $ + * $Id: wget.c,v 1.38 2001/05/13 00:55:54 andersen Exp $ */ diff --git a/wget.c b/wget.c index cb96e65a3..dfe97f5c5 100644 --- a/wget.c +++ b/wget.c @@ -234,6 +234,7 @@ int wget_main(int argc, char **argv) */ if (strcmp(fname_out, "-") == 0) { output = stdout; + quiet_flag = TRUE; } else { output = xfopen(fname_out, (do_continue ? "a" : "w")); } @@ -777,7 +778,7 @@ progressmeter(int flag) * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: wget.c,v 1.37 2001/05/09 19:15:46 kraai Exp $ + * $Id: wget.c,v 1.38 2001/05/13 00:55:54 andersen Exp $ */ -- cgit v1.2.3