diff options
author | dg <dg@FreeBSD.org> | 1994-08-31 17:20:12 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-08-31 17:20:12 +0000 |
commit | 91977ea9d1ed0edebd6a01daf974746d8d1cca17 (patch) | |
tree | 8dbcdf770b4cb6ac47055d3ff63cdb5c12f408d3 /usr.bin/ftp | |
parent | a80566aad66d4796a219ebb6b1a048bffa6ecc1f (diff) | |
download | FreeBSD-src-91977ea9d1ed0edebd6a01daf974746d8d1cca17.zip FreeBSD-src-91977ea9d1ed0edebd6a01daf974746d8d1cca17.tar.gz |
Fixed stupid bug which prevented any command line options from being
understood.
Submitted by: Uwe Arndt (arndt@mailhost.uni-koblenz.de)
Diffstat (limited to 'usr.bin/ftp')
-rw-r--r-- | usr.bin/ftp/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ftp/main.c b/usr.bin/ftp/main.c index 37fa85b..00ecadf 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++; |