mirror of
git://git.musl-libc.org/musl
synced 2024-12-16 03:35:06 +00:00
fix uninitialized variable in new __res_msend dns function
This commit is contained in:
parent
8312f7f60f
commit
a2a328bd89
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user