aboutsummaryrefslogtreecommitdiff
path: root/wget.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-05-13 00:55:54 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-05-13 00:55:54 +0000
commit7c71cbc186a30130e57512f35613a4422850fc6b (patch)
tree32b637875510b666fec7ad31df258762695002e7 /wget.c
parent6f944e61184e61923bd3986798056304a9dace76 (diff)
downloadbusybox-w32-7c71cbc186a30130e57512f35613a4422850fc6b.tar.gz
busybox-w32-7c71cbc186a30130e57512f35613a4422850fc6b.tar.bz2
busybox-w32-7c71cbc186a30130e57512f35613a4422850fc6b.zip
When doing a 'wget -O -' turn on the quiet flag, lest the status bar
noise get mingled with the retrieved webpage. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2631 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'wget.c')
-rw-r--r--wget.c3
1 files changed, 2 insertions, 1 deletions
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)
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