Blame SOURCES/glibc-rh795498.patch

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