Blame SOURCES/glibc-rh795498.patch

b9ba6d
diff --git a/resolv/nss_dns/dns-host.c b/resolv/nss_dns/dns-host.c
b9ba6d
index 01369f6..44ad04d 100644
b9ba6d
--- a/resolv/nss_dns/dns-host.c
b9ba6d
+++ b/resolv/nss_dns/dns-host.c
b9ba6d
@@ -1219,7 +1219,7 @@ gaih_getanswer (const querybuf *answer1, int anslen1, const querybuf *answer2,
b9ba6d
 				  &first);
b9ba6d
   if ((status == NSS_STATUS_SUCCESS || status == NSS_STATUS_NOTFOUND
b9ba6d
        || (status == NSS_STATUS_TRYAGAIN
b9ba6d
-	   && (errno != ERANGE || *h_errnop != NO_RECOVERY)))
b9ba6d
+	   && (*errnop != ERANGE || *h_errnop == NO_RECOVERY)))
b9ba6d
       && answer2 != NULL && anslen2 > 0)
b9ba6d
     {
b9ba6d
       enum nss_status status2 = gaih_getanswer_slice(answer2, anslen2, qname,