859755
commit 0ad970bb13920b6471ccc4503cf1f0d8b2352f05
859755
Author: Florian Weimer <fweimer@redhat.com>
859755
Date:   Tue May 9 12:28:01 2017 +0200
859755
859755
    resolv: Use RES_DFLRETRY consistently [BZ #21474]
859755
859755
diff --git a/resolv/res_libc.c b/resolv/res_libc.c
859755
index a4b376f15b0b0e98..c52574f895d4f19d 100644
859755
--- a/resolv/res_libc.c
859755
+++ b/resolv/res_libc.c
859755
@@ -65,7 +65,7 @@ res_init(void) {
859755
 	if (!_res.retrans)
859755
 		_res.retrans = RES_TIMEOUT;
859755
 	if (!_res.retry)
859755
-		_res.retry = 4;
859755
+		_res.retry = RES_DFLRETRY;
859755
 	if (!(_res.options & RES_INIT))
859755
 		_res.options = RES_DEFAULT;
859755
 	else if (_res.nscount > 0)
859755
@@ -103,7 +103,7 @@ __res_maybe_init (res_state resp, int preinit)
859755
 		if (!resp->retrans)
859755
 			resp->retrans = RES_TIMEOUT;
859755
 		if (!resp->retry)
859755
-			resp->retry = 4;
859755
+			resp->retry = RES_DFLRETRY;
859755
 		resp->options = RES_DEFAULT;
859755
 		if (!resp->id)
859755
 			resp->id = res_randomid ();