Handle one more return code from newer c-ares (fixes possible problem for IPv6 only...
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Sat, 19 Jan 2013 16:45:33 +0000 (16:45 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 23 Jan 2013 07:30:47 +0000 (08:30 +0100)
emi.canl.canl-c/src/canl_dns.c

index 3310cbd..5ef99af 100644 (file)
@@ -46,6 +46,7 @@ static void callback_ares_gethostbyname(void *arg, int status, int timeouts, str
             break;
         case ARES_EBADNAME:
         case ARES_ENOTFOUND:
+        case ARES_ENODATA:
             arp->err = HOST_NOT_FOUND;
             break;
         case ARES_ENOTIMP: