From f114b8260c94f929968333dc9c405eea81adafd0 Mon Sep 17 00:00:00 2001 From: David Greenman Date: Wed, 31 Aug 1994 17:20:12 +0000 Subject: [PATCH] Fixed stupid bug which prevented any command line options from being understood. Submitted by: Uwe Arndt (arndt@mailhost.uni-koblenz.de) --- usr.bin/ftp/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/ftp/main.c b/usr.bin/ftp/main.c index 37fa85ba27ed..00ecadf11090 100644 --- a/usr.bin/ftp/main.c +++ b/usr.bin/ftp/main.c @@ -78,7 +78,7 @@ main(argc, argv) autologin = 1; while ((ch = getopt(argc, argv, "dgintv")) != EOF) { - switch (*cp) { + switch (ch) { case 'd': options |= SO_DEBUG; debug++;