When doing a 'wget -O -' turn on the quiet flag, lest the status bar
noise get mingled with the retrieved webpage.
-Erik
diff --git a/networking/wget.c b/networking/wget.c
index cb96e65..dfe97f5 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -234,6 +234,7 @@
*/
if (strcmp(fname_out, "-") == 0) {
output = stdout;
+ quiet_flag = TRUE;
} else {
output = xfopen(fname_out, (do_continue ? "a" : "w"));
}
@@ -777,7 +778,7 @@
* 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 cb96e65..dfe97f5 100644
--- a/wget.c
+++ b/wget.c
@@ -234,6 +234,7 @@
*/
if (strcmp(fname_out, "-") == 0) {
output = stdout;
+ quiet_flag = TRUE;
} else {
output = xfopen(fname_out, (do_continue ? "a" : "w"));
}
@@ -777,7 +778,7 @@
* 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 $
*/