diff options
author | yar <yar@FreeBSD.org> | 2004-09-09 17:42:18 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2004-09-09 17:42:18 +0000 |
commit | ab6f621526c38ded9b2bfc54920e540d547ab919 (patch) | |
tree | 7b4df25302778893e3659a7270675bc067da52ff /lib/libc | |
parent | e1618f7fe222b508f07ce05b65cbb46154c4d52e (diff) | |
download | FreeBSD-src-ab6f621526c38ded9b2bfc54920e540d547ab919.zip FreeBSD-src-ab6f621526c38ded9b2bfc54920e540d547ab919.tar.gz |
Use the recently introduced RES_DFLRETRY parameter instead of a well-hidden
constant for the default number of retries.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/net/res_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/res_init.c b/lib/libc/net/res_init.c index 1d48f60..ecbb5d5 100644 --- a/lib/libc/net/res_init.c +++ b/lib/libc/net/res_init.c @@ -197,7 +197,7 @@ res_init() if (!_res.retrans) _res.retrans = RES_TIMEOUT; if (!_res.retry) - _res.retry = 4; + _res.retry = RES_DFLRETRY; if (!(_res.options & RES_INIT)) _res.options = RES_DEFAULT; |