1 diff -up cups-1.7b1/cups/http-addr.c.res_init cups-1.7b1/cups/http-addr.c
2 --- cups-1.7b1/cups/http-addr.c.res_init 2013-03-20 19:14:10.000000000 +0100
3 +++ cups-1.7b1/cups/http-addr.c 2013-04-19 12:01:36.927512159 +0200
4 @@ -319,7 +319,8 @@ httpAddrLookup(
8 - if (error == EAI_FAIL)
9 + if (error == EAI_FAIL || error == EAI_AGAIN || error == EAI_NODATA ||
10 + error == EAI_NONAME)
11 cg->need_res_init = 1;
13 return (httpAddrString(addr, name, namelen));
14 diff -up cups-1.7b1/cups/http-addrlist.c.res_init cups-1.7b1/cups/http-addrlist.c
15 --- cups-1.7b1/cups/http-addrlist.c.res_init 2013-04-19 12:01:36.930512119 +0200
16 +++ cups-1.7b1/cups/http-addrlist.c 2013-04-19 12:03:13.769229554 +0200
17 @@ -581,7 +581,8 @@ httpAddrGetList(const char *hostname, /*
21 - if (error == EAI_FAIL)
22 + if (error == EAI_FAIL || error == EAI_AGAIN || error == EAI_NODATA ||
23 + error == EAI_NONAME)
24 cg->need_res_init = 1;
26 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, gai_strerror(error), 0);