Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160417145307.GA22154@localhost>
Date: Sun, 17 Apr 2016 14:53:08 +0000
From: Petr Vaněk <pv@...ello.cz>
To: musl@...ts.openwall.com
Subject: [PATCH] res_msend: Remove unnecessary line

The variable nss is set to zero in following line, therefore this line
is not needed.
---
 src/network/res_msend.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/network/res_msend.c b/src/network/res_msend.c
index a47d18d..de7f615 100644
--- a/src/network/res_msend.c
+++ b/src/network/res_msend.c
@@ -52,7 +52,6 @@ int __res_msend_rc(int nqueries, const unsigned char *const *queries,
 	timeout = 1000*conf->timeout;
 	attempts = conf->attempts;
 
-	nns = conf->nns;
 	for (nns=0; nns<conf->nns; nns++) {
 		const struct address *iplit = &conf->ns[nns];
 		if (iplit->family == AF_INET) {
-- 
2.7.3

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.