summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-07-19 09:12:36 +0000
committerdes <des@FreeBSD.org>2000-07-19 09:12:36 +0000
commite8e313d17b7bb3161cde2c6896e3dd114bc24ead (patch)
tree6223fb64824d9dfa397aa274654104f3a075e664 /usr.bin/fetch
parent4ffc180c1dcec1eda61576ba5a37861921e77d62 (diff)
downloadFreeBSD-src-e8e313d17b7bb3161cde2c6896e3dd114bc24ead.zip
FreeBSD-src-e8e313d17b7bb3161cde2c6896e3dd114bc24ead.tar.gz
Braino: don't use passive mode unless the user requests it.
PR: bin/20025 Submitted by: HIYAMA Takeshi <th@cis.ibaraki.ac.jp>
Diffstat (limited to 'usr.bin/fetch')
-rw-r--r--usr.bin/fetch/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c
index 5efa9a1..556ec05 100644
--- a/usr.bin/fetch/fetch.c
+++ b/usr.bin/fetch/fetch.c
@@ -65,7 +65,7 @@ int o_directory; /* output file is a directory */
char *o_filename; /* name of output file */
int o_stdout; /* output file is stdout */
int once_flag; /* -1: stop at first successful file */
-int p_flag = 1; /* -[Pp]: use passive FTP */
+int p_flag; /* -[Pp]: use passive FTP */
int R_flag; /* -R: don't delete partially transferred files */
int r_flag; /* -r: restart previously interrupted transfer */
u_int T_secs = 0; /* -T: transfer timeout in seconds */
OpenPOWER on IntegriCloud