projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8312f7f
)
fix uninitialized variable in new __res_msend dns function
author
Rich Felker
<dalias@aerifal.cx>
Mon, 2 Jun 2014 08:27:54 +0000
(
04:27
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 2 Jun 2014 08:27:54 +0000
(
04:27
-0400)
src/network/res_msend.c
patch
|
blob
|
history
diff --git
a/src/network/res_msend.c
b/src/network/res_msend.c
index cded53531f279c5ad642933ccbc21808656ff131..a5b7793ac5323607a3290ed9104b315eccb535cf 100644
(file)
--- 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;