mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
Suppress the messages from the server after login (ftpVerbose(ftp,0)). Errors
are already correctly reported.
This commit is contained in:
parent
10a2722556
commit
d616694a11
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17413
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user