Browse Source

fix uninitialized variable in new __res_msend dns function

master
Rich Felker 12 years ago
parent
commit
a2a328bd89
  1. 1
      src/network/res_msend.c

1
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;

Loading…
Cancel
Save