]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/glibc/glibc-rh795498.patch
lcdproc: Update to 0.5.7
[ipfire-2.x.git] / src / patches / glibc / glibc-rh795498.patch
CommitLineData
12788f63
MT
1diff --git a/resolv/nss_dns/dns-host.c b/resolv/nss_dns/dns-host.c
2index 01369f6..44ad04d 100644
3--- a/resolv/nss_dns/dns-host.c
4+++ b/resolv/nss_dns/dns-host.c
5@@ -1219,7 +1219,7 @@ gaih_getanswer (const querybuf *answer1, int anslen1, const querybuf *answer2,
6 &first);
7 if ((status == NSS_STATUS_SUCCESS || status == NSS_STATUS_NOTFOUND
8 || (status == NSS_STATUS_TRYAGAIN
9- && (errno != ERANGE || *h_errnop != NO_RECOVERY)))
10+ && (*errnop != ERANGE || *h_errnop == NO_RECOVERY)))
11 && answer2 != NULL && anslen2 > 0)
12 {
13 enum nss_status status2 = gaih_getanswer_slice(answer2, anslen2, qname,