summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1996-10-06 00:44:24 +0000
committerjmz <jmz@FreeBSD.org>1996-10-06 00:44:24 +0000
commit677241848509fd15459b44f385bb9d9dd6c21223 (patch)
tree7a62c5291c364708d5fb19850e76a58b0e16545a /usr.bin/fetch
parenta22fb27a1322a06f070dfd853dc3327bf15b759b (diff)
downloadFreeBSD-src-677241848509fd15459b44f385bb9d9dd6c21223.zip
FreeBSD-src-677241848509fd15459b44f385bb9d9dd6c21223.tar.gz
The -h flag implies ftp = 1.
Diffstat (limited to 'usr.bin/fetch')
-rw-r--r--usr.bin/fetch/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/fetch/main.c b/usr.bin/fetch/main.c
index 74fc9ab..8f18324 100644
--- a/usr.bin/fetch/main.c
+++ b/usr.bin/fetch/main.c
@@ -24,7 +24,7 @@
* SUCH DAMAGE.
*/
-/* $Id: main.c,v 1.22 1996/09/19 17:31:34 peter Exp $ */
+/* $Id: main.c,v 1.23 1996/09/19 18:07:20 peter Exp $ */
#include <sys/types.h>
#include <sys/socket.h>
@@ -159,6 +159,7 @@ main(int argc, char **argv)
case 'h':
host = optarg;
+ ftp = 1;
break;
case 'l':
OpenPOWER on IntegriCloud