summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2001-08-18 10:48:55 +0000
committerdes <des@FreeBSD.org>2001-08-18 10:48:55 +0000
commit4debb1b901da02a2ff7e5157c5d9332bf88d31cb (patch)
tree8ac9aa31d03ef06ac7320e095ee31727e6594363 /usr.bin/fetch
parentef96d4b7a9b4d75885e7773a2430560c72f9b2aa (diff)
downloadFreeBSD-src-4debb1b901da02a2ff7e5157c5d9332bf88d31cb.zip
FreeBSD-src-4debb1b901da02a2ff7e5157c5d9332bf88d31cb.tar.gz
Remove a blank line that snuck in with the previous commit.
Set the default timeout to 120 seconds instead of 0 (no timeout).
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 f48faeb..a8ef3a6 100644
--- a/usr.bin/fetch/fetch.c
+++ b/usr.bin/fetch/fetch.c
@@ -70,7 +70,7 @@ int R_flag; /* -R: don't delete partially transferred files */
int r_flag; /* -r: restart previously interrupted transfer */
off_t S_size; /* -S: require size to match */
int s_flag; /* -s: show size, don't fetch */
-u_int T_secs = 0; /* -T: transfer timeout in seconds */
+u_int T_secs = 120; /* -T: transfer timeout in seconds */
int t_flag; /*! -t: workaround TCP bug */
int U_flag; /* -U: do not use high ports */
int v_level = 1; /* -v: verbosity level */
OpenPOWER on IntegriCloud