Ravi Pratap fixed a flaw in the init_by_resolv_conf() function for windows

that could cause it to return a bad return code.
pull/1/head
Daniel Stenberg 18 years ago
parent a034ee1b7d
commit 557aad7b02
  1. 4
      CHANGES
  2. 4
      ares_init.c

@ -1,5 +1,9 @@
Changelog for the c-ares project
* May 25 2007
- Ravi Pratap fixed a flaw in the init_by_resolv_conf() function for windows
that could cause it to return a bad return code.
* April 16 2007
- Yang Tse: Provide ares_getopt() command-line parser function as a source

@ -555,6 +555,10 @@ DhcpNameServer
if (status == ARES_SUCCESS)
status = ARES_EOF;
else
/* Catch the case when all the above checks fail (which happens when there
is no network card or the cable is unplugged) */
status = ARES_EFILE;
#elif defined(__riscos__)

Loading…
Cancel
Save