From a2a328bd896fa909542b492601e3689119b95de0 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 2 Jun 2014 04:27:54 -0400 Subject: [PATCH] fix uninitialized variable in new __res_msend dns function --- src/network/res_msend.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/network/res_msend.c b/src/network/res_msend.c index cded5353..a5b7793a 100644 --- a/src/network/res_msend.c +++ b/src/network/res_msend.c @@ -131,6 +131,7 @@ int __res_msend(int nqueries, const unsigned char *const *queries, pfd.fd = fd; pfd.events = POLLIN; retry_interval = timeout / attempts; + next = 0; t0 = t2 = mtime(); t1 = t2 - retry_interval; -- 2.25.1