diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-01-29 22:11:37 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-01-29 22:11:37 +0000 |
commit | b693436733a3c12253d11ac5378ab7844329d9f3 (patch) | |
tree | 01c2672affacb4173339395be9bda791e23eb783 | |
parent | 2b30d39c3fd850820353b63447a24c7e75dc5ebc (diff) |
only print passive toggle info is verbose set (like other commands)
-rw-r--r-- | usr.bin/ftp/cmds.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/ftp/cmds.c b/usr.bin/ftp/cmds.c index dbf952b06de..9b7d4aa812f 100644 --- a/usr.bin/ftp/cmds.c +++ b/usr.bin/ftp/cmds.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmds.c,v 1.11 1997/01/28 20:48:40 millert Exp $ */ +/* $OpenBSD: cmds.c,v 1.12 1997/01/29 22:11:36 millert Exp $ */ /* $NetBSD: cmds.c,v 1.8 1995/09/08 01:06:05 tls Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)cmds.c 8.6 (Berkeley) 10/9/94"; #else -static char rcsid[] = "$OpenBSD: cmds.c,v 1.11 1997/01/28 20:48:40 millert Exp $"; +static char rcsid[] = "$OpenBSD: cmds.c,v 1.12 1997/01/29 22:11:36 millert Exp $"; #endif #endif /* not lint */ @@ -2072,7 +2072,8 @@ setpassive(argc, argv) { passivemode = !passivemode; - printf("Passive mode %s.\n", onoff(passivemode)); + if (verbose) + printf("Passive mode %s.\n", onoff(passivemode)); code = passivemode; } |