diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-06-02 04:27:54 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-06-02 04:27:54 -0400 |
commit | a2a328bd896fa909542b492601e3689119b95de0 (patch) | |
tree | f5fdd3ab11b8c51a3b555aa939d0b7ff7ebcb071 | |
parent | 8312f7f60f9dfe88118163d38b8282abf04aac2f (diff) | |
download | musl-a2a328bd896fa909542b492601e3689119b95de0.tar.gz musl-a2a328bd896fa909542b492601e3689119b95de0.tar.bz2 musl-a2a328bd896fa909542b492601e3689119b95de0.tar.xz musl-a2a328bd896fa909542b492601e3689119b95de0.zip |
fix uninitialized variable in new __res_msend dns function
-rw-r--r-- | src/network/res_msend.c | 1 |
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; |