binutils: update to 2.43.1
[openadk.git] / package / polipo / patches / patch-dns_c
blob1b9189bc3cb4c6fb50ac8cff1e21601fc626f128
1 --- polipo-1.0.4.1.orig/dns.c   2010-02-01 00:13:20.000000000 +0100
2 +++ polipo-1.0.4.1/dns.c        2013-09-18 12:30:27.000000000 +0200
3 @@ -646,7 +646,9 @@ really_do_gethostbyname(AtomPtr name, Ob
4      if(host == NULL) {
5          switch(h_errno) {
6          case HOST_NOT_FOUND: error = EDNS_HOST_NOT_FOUND; break;
7 +#ifdef NO_ADDRESS
8          case NO_ADDRESS: error = EDNS_NO_ADDRESS; break;
9 +#endif
10          case NO_RECOVERY: error = EDNS_NO_RECOVERY; break;
11          case TRY_AGAIN: error = EDNS_TRY_AGAIN; break;
12          default: error = EUNKNOWN; break;