Just a little BUG I found in WIN32:
- When there are no network interface at all, the function ares_init()
returns -1, an invalid ares error value.
I attached the tiny patch as a suggestion to solve it.
Regards,
Guilherme Balena Versiani.
--- ares_init.c.old 2006-11-03 12:10:23.389754900 -0300
+++ ares_init.c 2006-11-03 09:07:27.000000000 -0300
@@ -456,6 +456,7 @@
goto okay;
}
+ status = ARES_EFILE;
if (IS_NT())
{
if (RegOpenKeyEx(