diff options
author | jmz <jmz@FreeBSD.org> | 1996-08-04 00:35:39 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1996-08-04 00:35:39 +0000 |
commit | 1e79f06390ac23fed2f15f443beaf99b6d034a06 (patch) | |
tree | 5233118e8a4e051b6695e79c89e1383c2e538f97 /usr.bin/fetch | |
parent | f898bbdd80c15e3712da180b9f2a1de6402448fe (diff) | |
download | FreeBSD-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.c | 4 |
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); |