Merge of fixes from branch_3_2
authorZdeněk Šustr <sustr4@cesnet.cz>
Thu, 16 Aug 2012 13:54:51 +0000 (13:54 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Thu, 16 Aug 2012 13:54:51 +0000 (13:54 +0000)
org.glite.lb.server/src/bkserverd.c
org.glite.lbjp-common.gss/src/glite_gss.c

index 16e801b..70b8034 100644 (file)
@@ -1835,6 +1835,7 @@ void callback_ares_getnameinfo(void *arg, int status, char *node, char *service)
                        arp->err = NO_DATA;
                }
                break;
+           case ARES_ENODATA:
            case ARES_EBADNAME:
            case ARES_ENOTFOUND:
                arp->err = HOST_NOT_FOUND;
index 57792a6..eae4691 100644 (file)
@@ -156,6 +156,7 @@ static void callback_ares_gethostbyname(void *arg, int status, struct hostent *h
                        arp->ent->h_length = h->h_length;
                        arp->err = NETDB_SUCCESS;
                break;
+           case ARES_ENODATA:
            case ARES_EBADNAME:
            case ARES_ENOTFOUND:
                arp->err = HOST_NOT_FOUND;