1
0

patch-dns_c 549 B

123456789101112
  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;