about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/res_msend.c1
1 files changed, 1 insertions, 0 deletions
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;