fix uninitialized variable in new __res_msend dns function
This commit is contained in:
parent
8312f7f60f
commit
a2a328bd89
1 changed files with 1 additions and 0 deletions
|
|
@ -131,6 +131,7 @@ int __res_msend(int nqueries, const unsigned char *const *queries,
|
||||||
pfd.fd = fd;
|
pfd.fd = fd;
|
||||||
pfd.events = POLLIN;
|
pfd.events = POLLIN;
|
||||||
retry_interval = timeout / attempts;
|
retry_interval = timeout / attempts;
|
||||||
|
next = 0;
|
||||||
t0 = t2 = mtime();
|
t0 = t2 = mtime();
|
||||||
t1 = t2 - retry_interval;
|
t1 = t2 - retry_interval;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue