summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1996-08-04 00:35:39 +0000
committerjmz <jmz@FreeBSD.org>1996-08-04 00:35:39 +0000
commit1e79f06390ac23fed2f15f443beaf99b6d034a06 (patch)
tree5233118e8a4e051b6695e79c89e1383c2e538f97 /usr.bin/fetch
parentf898bbdd80c15e3712da180b9f2a1de6402448fe (diff)
downloadFreeBSD-src-1e79f06390ac23fed2f15f443beaf99b6d034a06.zip
FreeBSD-src-1e79f06390ac23fed2f15f443beaf99b6d034a06.tar.gz
Suppress the messages from the server after login (ftpVerbose(ftp,0)). Errors
are already correctly reported.
Diffstat (limited to 'usr.bin/fetch')
-rw-r--r--usr.bin/fetch/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/fetch/main.c b/usr.bin/fetch/main.c
index 7690772..4cb2966 100644
--- a/usr.bin/fetch/main.c
+++ b/usr.bin/fetch/main.c
@@ -24,7 +24,7 @@
* SUCH DAMAGE.
*/
-/* $Id: main.c,v 1.10 1996/07/18 00:08:58 jkh Exp $ */
+/* $Id: main.c,v 1.11 1996/08/03 13:14:47 jkh Exp $ */
#include <stdlib.h>
#include <stdio.h>
@@ -226,6 +226,8 @@ ftpget ()
if (!ftp)
err(1, "Couldn't open FTP connection or login to %s.", host);
+ ftpVerbose (ftp, 0);
+
/* Time to set our defaults */
ftpBinary (ftp);
ftpPassive (ftp, passive_mode);
OpenPOWER on IntegriCloud