Skip to content
Snippets Groups Projects
Commit fcc3e2ca authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

that could cause it to return a bad return code.
parent c25da519
No related branches found
No related tags found
No related merge requests found
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__)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment